Skip to content

Commit 35d3eec

Browse files
committed
add GHA to add PRs to project board on ready for review
The board's built-in auto-add workflow only fires on PR open/reopen, not when a draft is converted to ready for review. This GHA covers that gap by triggering on opened, reopened, and ready_for_review, skipping drafts. Assisted-by: Claude Sonnet 4.6
1 parent 88e5bfc commit 35d3eec

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Add PR to project board
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, ready_for_review]
6+
7+
jobs:
8+
add-to-project:
9+
name: add to project board
10+
runs-on: ubuntu-latest
11+
if: github.event.pull_request.draft == false
12+
steps:
13+
- uses: actions/add-to-project@v1.0.2
14+
with:
15+
project-url: https://github.com/orgs/open-telemetry/projects/88
16+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

0 commit comments

Comments
 (0)