Skip to content

Commit 265d4a8

Browse files
committed
ci(temp): fix mine-run workflow (env context not valid in job name)
1 parent 88f1cf0 commit 265d4a8

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

‎.github/workflows/mine-run.yml‎

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# workflow_dispatch-only and the agent's API token can't dispatch it, so this
33
# pushes a one-off mining run on a `claude/mine-*` branch: clone a pool-heavy
44
# public C# repo and run own-check over it, echoing the report into the job log
5-
# for an FP audit. Read-only; delete the branch when the audit is done.
5+
# for an FP audit. Read-only; delete the branch when the audit is done. Edit the
6+
# target in the "Mine the target" step and re-push to scan a different repo/subdir.
67
name: mine-run (temp)
78

89
on:
@@ -12,14 +13,9 @@ on:
1213
permissions:
1314
contents: read
1415

15-
# The target to mine — edit and re-push to scan a different repo / subdir.
16-
env:
17-
TARGET: "MessagePack-CSharp/MessagePack-CSharp"
18-
PATHS: "src/MessagePack"
19-
2016
jobs:
2117
mine:
22-
name: mine ${{ env.TARGET }}
18+
name: mine
2319
runs-on: ubuntu-latest
2420
steps:
2521
- uses: actions/checkout@v4
@@ -30,10 +26,7 @@ jobs:
3026
with:
3127
dotnet-version: "8.0.x"
3228
- name: Mine the target
33-
run: |
34-
args=()
35-
[[ -n "$PATHS" ]] && args+=(--paths "$PATHS")
36-
scripts/mine.sh "${args[@]}" "$TARGET"
29+
run: scripts/mine.sh --paths src/MessagePack MessagePack-CSharp/MessagePack-CSharp
3730
- name: Echo report + findings into the job log
3831
if: always()
3932
run: |

0 commit comments

Comments
 (0)