Add new issues to davfive project #6
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 new issues to davfive project | |
on: | |
issues: | |
types: opened | |
jobs: | |
label_issues: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
repository-projects: write | |
steps: | |
- run: gh project item-add 2 --owner "$GITHUB_REPOSITORY_OWNER" --url "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/issues/$NUMBER" | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_REPO: ${{ github.repository }} | |
NUMBER: ${{ github.event.issue.number }} | |
LABELS: triage |