[OpenSSF] Use CODEOWNERS configuration #80
Workflow file for this run
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: # added using https://github.com/step-security/secure-repo | |
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@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 | |
with: | |
disable-sudo: true | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
- uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/Ouranosinc/projects/6 | |
github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }} |