Skip to content

Commit

Permalink
Create add_to_project.yml (#16)
Browse files Browse the repository at this point in the history
Adds all new issues to project board
  • Loading branch information
caudetgit authored Apr 25, 2023
1 parent edb9d36 commit 332f51f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/add_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Adds all new issues to project board

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/rive-app/projects/12/views/1
github-token: ${{ secrets.ADD_TO_PROJECT_ACTION }}

- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["triage"]
})

0 comments on commit 332f51f

Please sign in to comment.