Commit cb23f41
committed
fix(ci): use workflow-scoped token for Bioconda publish
The Bioconda publish job fails when pushing the version bump branch to the `nextstrain/bioconda-recipes` fork:
```
refusing to allow a Personal Access Token to create or update workflow
`.github/workflows/PR.yml` without `workflow` scope
```
GitHub requires the `workflow` scope on any token that pushes a ref whose tree contains `.github/workflows/` files. The fork inherits these files from upstream `bioconda/bioconda-recipes`, so the scope is required even though our commit only touches `recipes/nextclade/meta.yaml`.
Switch from `GH_TOKEN_NEXTSTRAIN_BOT_REPO` to `GH_TOKEN_NEXTSTRAIN_BOT_WORKFLOW`, which carries the `workflow` scope in addition to the same permissions as the previous token.
- CI failure: https://github.com/nextstrain/nextclade/actions/runs/24439124069/job/71399868528
- Discussion: https://bedfordlab.slack.com/archives/C01LCTT7JNN/p17762339967070891 parent 09fb189 commit cb23f41
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments