Bump github/codeql-action from 2.1.28 to 2.21.2 #492
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: Assign to Project | |
on: | |
issues: | |
types: [opened, labeled] | |
pull_request: | |
types: [opened, labeled] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
permissions: | |
contents: read | |
jobs: | |
assign-project: | |
permissions: | |
repository-projects: write # for srggrs/assign-one-project-github-action to assign issues and PRs to repo project | |
runs-on: ubuntu-latest | |
name: Assign to Project | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@ebacdc22ef6c2cfb85ee5ded8f2e640f4c776dd5 | |
with: | |
egress-policy: block | |
allowed-endpoints: > | |
api.github.com:443 | |
- name: Assign Issues to Bugs | |
uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 | |
if: contains(github.event.issue.labels.*.name, 'bug') | |
with: | |
project: 'https://github.com/irongut/EditRelease/projects/2' | |
column_name: 'Needs triage' | |
- name: Assign Issues to Enhancements | |
uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 | |
if: contains(github.event.issue.labels.*.name, 'enhancement') | |
with: | |
project: 'https://github.com/irongut/EditRelease/projects/1' | |
column_name: 'To do' | |
- name: Assign PRs to Bugs | |
uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 | |
if: contains(github.event.pull_request.labels.*.name, 'bug') | |
with: | |
project: 'https://github.com/irongut/EditRelease/projects/2' | |
column_name: 'In Progress' | |
- name: Assign PRs to Enhancements | |
uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 | |
if: contains(github.event.pull_request.labels.*.name, 'enhancement') | |
with: | |
project: 'https://github.com/irongut/EditRelease/projects/1' | |
column_name: 'In progress' |