Commit 912b304
committed
Fix uninterpolated ${PR_ID} in autofix branch name
The `branch:` input to peter-evans/create-pull-request was set to
`update-collections-${PR_ID}`, but Actions inputs aren't shell-
interpolated and no `PR_ID` env var is defined — so the literal
string `${PR_ID}` was ending up in the branch name (e.g.
`update-collections-${PR_ID}`).
peter-evans/create-pull-request is designed to reuse a stable
branch: if an open PR already exists for that branch, it
force-pushes new changes onto it instead of opening a new one.
That's the desired behavior for an hourly autofix job — one
rolling PR, not a new branch each hour.
Drop the suffix entirely.1 parent 3515fd3 commit 912b304
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
0 commit comments