File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments