Skip to content

Commit

Permalink
fix: use nextstrain-bot token
Browse files Browse the repository at this point in the history
This way `nextstrain-bot` user submits the PR, rather than `github-actions` user, and so the followup automation can run
  • Loading branch information
ivan-aksamentov committed Jan 28, 2025
1 parent 2e8f074 commit 5c120a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-sars-cov-2-datasets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:
environment:
name: ${{ github.ref }}

env:
GH_TOKEN: ${{ github.token }}

steps:
- name: "Checkout code"
if: ${{ steps.config.outputs.is_fork != 'true' }}
Expand All @@ -54,4 +51,6 @@ jobs:
- name: "Update datasets"
run: |
export GITHUB_TOKEN="${{ secrets.GH_TOKEN_NEXTSTRAIN_BOT_REPO }}"
./scripts/update_sc2_datasets

0 comments on commit 5c120a6

Please sign in to comment.