Skip to content

Commit

Permalink
Update issue-trigger.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
t-will-gillis authored Nov 28, 2023
1 parent a520279 commit 7e64d3d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/issue-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ on:
types: [opened, transferred, assigned]

jobs:
# Adds newly created issues onto project board in column 'New Issue Approval'
Add-Issue-To-Project-Board:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'issues' && github.event.action == 'opened' }}
steps:
- name: Add issue to project board
id: add-issue-project-board
env:
COLUMN_NAME: ${{ contains(github.event.issue.title, 'bot made a mistake') && 'Questions / In Review' || 'New Issue Approval' }}
uses: alex-page/github-project-automation-plus@v0.8.3
with:
project: Project Board
column: $COLUMN_NAME
repo-token: ${{ secrets.TEST_GHAS }}

Add-Missing-Labels-To-Issues:
runs-on: ubuntu-latest
# Only trigger this action when an issue is newly created
Expand Down

0 comments on commit 7e64d3d

Please sign in to comment.