Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/add_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Add pull request to the kanban board

on:
pull_request:
Copy link
Contributor

@adfoster-r7 adfoster-r7 Jan 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be pull_request_target:

https://stackoverflow.com/questions/74957218/what-is-the-difference-between-pull-request-and-pull-request-target-event-in-git

I don't think this pipeline needs a custom secret added either if the above is followed; At least based on actions/add-to-project#163 and it being the same approach we use for our label's script

types:
- opened
- reopened

jobs:
add-to-project:
name: Add pull request to the kanban board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/rapid7/projects/17
# smcintyre/GITHUB_PROJECT_TOKEN (PAT), Expires on Wed, Jan 27 2027
github-token: ${{ secrets.GH_PROJECT_TOKEN }}

Loading