Alerts: add guidance for teams to stack alerts in order of severity #2292
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: Project automation | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
add_issue_to_project: | |
name: Add new issues to project board | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
gh api graphql -f query='mutation($project:ID!, $issue:ID!) { addProjectNextItem(input: {projectId: $project, contentId: $issue}) { projectNextItem { id } } }' -f project=${{ secrets.PROJECT_ID }} -f issue=${{ github.event.issue.node_id }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT_ISSUES_TO_PROJECTS }} |