Skip to content

DQM: Specificities in Xclim vs. (Cannon,2016)'s description #132

DQM: Specificities in Xclim vs. (Cannon,2016)'s description

DQM: Specificities in Xclim vs. (Cannon,2016)'s description #132

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:
contents: read
repository-projects: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.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@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
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 }}