Skip to content

Commit

Permalink
chore: add project board automations (#15)
Browse files Browse the repository at this point in the history
Closes #14
  • Loading branch information
0x-r4bbit authored Feb 19, 2024
1 parent b3275c9 commit 64df3b7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/add-issue-to-project-board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Add issue to task board

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add to task board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
with:
# You can target a project in a different organization
# to the issue
project-url: https://github.com/orgs/vacp2p/projects/10
github-token: ${{ secrets.ADD_TO_VAC_BOARD_PAT }}
16 changes: 16 additions & 0 deletions .github/workflows/add-pr-to-project-board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add PR task board

on:
pull_request:

jobs:
add-to-project:
name: Add to task board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
with:
# You can target a project in a different organization
# to the issue
project-url: https://github.com/orgs/vacp2p/projects/10
github-token: ${{ secrets.ADD_TO_VAC_BOARD_PAT }}

0 comments on commit 64df3b7

Please sign in to comment.