Naming of hydroclimatic variables #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add Issues to xclim Project | |
on: | |
issues: | |
types: | |
- opened | |
permissions: | |
contents: read | |
jobs: | |
add-to-project: | |
name: Add Issue to xclim Project | |
runs-on: ubuntu-latest | |
permissions: | |
repository-projects: write | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
- name: Generate App Token | |
id: token_generator | |
uses: actions/create-github-app-token@3378cda945da322a8db4b193e19d46352ebe2de5 # v1.10.4 | |
with: | |
app-id: ${{ secrets.OURANOS_HELPER_BOT_ID }} | |
private-key: ${{ secrets.OURANOS_HELPER_BOT_KEY }} | |
- name: Add Issue to xclim Project | |
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2 | |
with: | |
project-url: https://github.com/orgs/Ouranosinc/projects/6 | |
github-token: ${{ steps.token_generator.outputs.token }} |