Skip to content

Commit

Permalink
Merge pull request #37 from reapit/add-platform-workflow
Browse files Browse the repository at this point in the history
chore: add platform project issue assignment workflow
  • Loading branch information
joshbalfour committed Apr 4, 2024
2 parents d04e1bb + ca838fc commit 636b035
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/new-issue-assignment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Add to internal Backlog

on:
issues:
types:
- opened

jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.GH_PLATFORM_BOT_PAT }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: refinement

add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.0
with:
project-url: https://github.com/orgs/reapit/projects/18
github-token: ${{ secrets.GH_PLATFORM_BOT_PAT }}

0 comments on commit 636b035

Please sign in to comment.