Plans to provide an official docker image? #149
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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.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@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 | |
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 }} |