Skip to content

Commit bef07f8

Browse files
fix(workflows): add missing checkout steps for gh CLI
All workflows using gh CLI commands need to be in a git repository context. Added checkout steps to: - gen-new-plot.yml (create-sub-issues and summary jobs) - bot-sync-status.yml - bot-auto-merge.yml (auto-merge job) - gen-update-plot.yml (early checkout before gh commands) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0dec902 commit bef07f8

4 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/bot-auto-merge.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
issues: write
2323

2424
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v6
27+
2528
- name: Extract info from branch
2629
id: extract
2730
run: |

.github/workflows/bot-sync-status.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
pull-requests: read
1919

2020
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v6
23+
2124
- name: Determine parent issue
2225
id: parent
2326
env:

.github/workflows/gen-new-plot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ jobs:
114114
issues: write
115115

116116
steps:
117+
- name: Checkout repository
118+
uses: actions/checkout@v6
119+
117120
- name: React with eyes emoji
118121
env:
119122
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -318,6 +321,9 @@ jobs:
318321
issues: write
319322

320323
steps:
324+
- name: Checkout repository
325+
uses: actions/checkout@v6
326+
321327
- name: Post summary to main issue
322328
env:
323329
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/gen-update-plot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
issues: write
2020

2121
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v6
24+
2225
- name: Extract spec ID, library, and sub-issue
2326
id: extract_info
2427
env:

0 commit comments

Comments
 (0)