Skip to content

Commit

Permalink
chore: add project board automations
Browse files Browse the repository at this point in the history
Closes #14
  • Loading branch information
0x-r4bbit committed Feb 15, 2024
1 parent b3275c9 commit 9a847f0
Show file tree
Hide file tree
Showing 2 changed files with 35 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/[email protected]
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 }}
17 changes: 17 additions & 0 deletions .github/workflows/add-pr-to-project-board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Add PR task board

on:
pull_request:

jobs:
add-to-project:
name: Add to task board
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
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 9a847f0

Please sign in to comment.