Skip to content

Commit 8122c8f

Browse files
tac0turtleclaude
andauthored
ci: add workflow to auto-add issues to project board (#133)
* ci: add workflow to auto-add issues to project board Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * ci: set Area=execution and Status=Backlog on new issues Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * ci: use ADD_TO_PROJECT_PAT secret Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * update --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d60755e commit 8122c8f

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Add issues to project
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
env:
8+
PROJECT_ID: PVT_kwDOBy5rXM4ALaHM
9+
STATUS_FIELD_ID: PVTSSF_lADOBy5rXM4ALaHMzgHRhFU
10+
BACKLOG_OPTION_ID: 9d8a77fe
11+
AREA_FIELD_ID: PVTSSF_lADOBy5rXM4ALaHMzg92rZc
12+
EXECUTION_OPTION_ID: 244f8d4c
13+
14+
jobs:
15+
add-to-project:
16+
name: Add issue to project
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Add to project
20+
id: add
21+
uses: actions/add-to-project@v1.0.2
22+
with:
23+
project-url: https://github.com/orgs/evstack/projects/7
24+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
25+
26+
- name: Set Status to Backlog
27+
env:
28+
GH_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }}
29+
run: |
30+
gh project item-edit \
31+
--project-id "$PROJECT_ID" \
32+
--id "${{ steps.add.outputs.itemId }}" \
33+
--field-id "$STATUS_FIELD_ID" \
34+
--single-select-option-id "$BACKLOG_OPTION_ID"
35+
36+
- name: Set Area to Execution
37+
env:
38+
GH_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }}
39+
run: |
40+
gh project item-edit \
41+
--project-id "$PROJECT_ID" \
42+
--id "${{ steps.add.outputs.itemId }}" \
43+
--field-id "$AREA_FIELD_ID" \
44+
--single-select-option-id "$EXECUTION_OPTION_ID"

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
steps:
6363
- uses: actions/checkout@v6
6464
- uses: dtolnay/rust-toolchain@nightly
65+
with:
66+
toolchain: nightly-2026-02-21
6567
- uses: Swatinem/rust-cache@v2
6668
with:
6769
cache-on-failure: true

0 commit comments

Comments
 (0)