Skip to content

Commit

Permalink
Automatically assign high priority items to project 25.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin authored Oct 19, 2023
1 parent 2aa34fe commit 6e15b4c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/assign-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Auto Assign to Project(s)

on:
issues:
types: [opened, labeled]
pull_request:
types: [opened, labeled]
issue_comment:
types: [created]

jobs:
assign_high_priority:
runs-on: ubuntu-latest
name: Assign to High Priority project
steps:
- name: Assign issues and pull requests with `priority:high` label to project 25
uses: srggrs/[email protected]
if: |
contains(github.event.issue.labels.*.name, 'priority:high') ||
contains(github.event.pull_request.labels.*.name, 'priority:high')
with:
project: 'https://github.com/ESCOMP/CTSM/projects/25'
column_name: 'Needs triage'

0 comments on commit 6e15b4c

Please sign in to comment.