ITADN

Deployments broken due to gh token permissions issue

#329Opencorneliusroemer 创建于 2025-08-02
C
corneliusroemercommented
https://github.com/nextstrain/nextclade_data/actions/runs/16580620245/job/46895634148 ``` ++ cat ++ gh pr create --title '\''Update SARS-CoV-2 datasets [automated]'\'' --body-file - --repo nextstrain/nextclade_data --reviewer corneliusroemer --reviewer rneher +++ summary_table +++ echo '\''| Tree on Nextstrain.org | Submitted dataset | Nextclade link¹ |'\'' +++ echo '\''| --- | --- | --- |'\'' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2 +++ local dataset_name=nextstrain/sars-cov-2/wuhan-hu-1/orfs +++ echo '\''| [staging/nextclade/sars-cov-2](https://nextstrain.org/staging/nextclade/sars-cov-2) | [nextstrain/sars-cov-2/wuhan-hu-1/orfs](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/wuhan-hu-1/orfs) | [nextstrain/sars-cov-2/wuhan-hu-1/orfs](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/wuhan-hu-1/orfs) |'\'' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2/nsp +++ local dataset_name=nextstrain/sars-cov-2/wuhan-hu-1/proteins +++ echo '\''| [staging/nextclade/sars-cov-2/nsp](https://nextstrain.org/staging/nextclade/sars-cov-2/nsp) | [nextstrain/sars-cov-2/wuhan-hu-1/proteins](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/wuhan-hu-1/proteins) | [nextstrain/sars-cov-2/wuhan-hu-1/proteins](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/wuhan-hu-1/proteins) |'\'' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2/BA.2.86 +++ local dataset_name=nextstrain/sars-cov-2/BA.2.86 +++ echo '\''| [staging/nextclade/sars-cov-2/BA.2.86](https://nextstrain.org/staging/nextclade/sars-cov-2/BA.2.86) | [nextstrain/sars-cov-2/BA.2.86](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/BA.2.86) | [nextstrain/sars-cov-2/BA.2.86](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/BA.2.86) |'\'' error fetching organization teams: GraphQL: Your token has not been granted the required scopes to execute this query. The '\''id'\'' field requires one of the following scopes: ['\''read:org'\'', '\''read:discussion'\''], but your token has only been granted the: ['\''public_repo'\''] scopes. Please modify your token'\''s scopes at: https://github.com/settings/tokens., Your token has not been granted the required scopes to execute this query. The '\''slug'\'' field requires one of the following scopes: ['\''read:org'\'', '\''read:discussion'\''], but your token has only been granted the: ['\''public_repo'\''] scopes. Please modify your token'\''s scopes at: https://github.com/settings/tokens.' ++ pr_body ++ cat ++ gh pr create --title 'Update SARS-CoV-2 datasets [automated]' --body-file - --repo nextstrain/nextclade_data --reviewer corneliusroemer --reviewer rneher +++ summary_table +++ echo '| Tree on Nextstrain.org | Submitted dataset | Nextclade link¹ |' +++ echo '| --- | --- | --- |' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2 +++ local dataset_name=nextstrain/sars-cov-2/wuhan-hu-1/orfs +++ echo '| [staging/nextclade/sars-cov-2](https://nextstrain.org/staging/nextclade/sars-cov-2) | [nextstrain/sars-cov-2/wuhan-hu-1/orfs](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/wuhan-hu-1/orfs) | [nextstrain/sars-cov-2/wuhan-hu-1/orfs](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/wuhan-hu-1/orfs) |' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2/nsp +++ local dataset_name=nextstrain/sars-cov-2/wuhan-hu-1/proteins +++ echo '| [staging/nextclade/sars-cov-2/nsp](https://nextstrain.org/staging/nextclade/sars-cov-2/nsp) | [nextstrain/sars-cov-2/wuhan-hu-1/proteins](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/wuhan-hu-1/proteins) | [nextstrain/sars-cov-2/wuhan-hu-1/proteins](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/wuhan-hu-1/proteins) |' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2/BA.2.86 +++ local dataset_name=nextstrain/sars-cov-2/BA.2.86 +++ echo '| [staging/nextclade/sars-cov-2/BA.2.86](https://nextstrain.org/staging/nextclade/sars-cov-2/BA.2.86) | [nextstrain/sars-cov-2/BA.2.86](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/BA.2.86) | [nextstrain/sars-cov-2/BA.2.86](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/BA.2.86) |' error fetching organization teams: GraphQL: Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['public_repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens., Your token has not been granted the required scopes to execute this query. The 'slug' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['public_repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens. + [[ ++ pr_body ++ cat ++ gh pr create --title 'Update SARS-CoV-2 datasets [automated]' --body-file - --repo nextstrain/nextclade_data --reviewer corneliusroemer --reviewer rneher +++ summary_table +++ echo '| Tree on Nextstrain.org | Submitted dataset | Nextclade link¹ |' +++ echo '| --- | --- | --- |' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2 +++ local dataset_name=nextstrain/sars-cov-2/wuhan-hu-1/orfs +++ echo '| [staging/nextclade/sars-cov-2](https://nextstrain.org/staging/nextclade/sars-cov-2) | [nextstrain/sars-cov-2/wuhan-hu-1/orfs](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/wuhan-hu-1/orfs) | [nextstrain/sars-cov-2/wuhan-hu-1/orfs](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/wuhan-hu-1/orfs) |' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2/nsp +++ local dataset_name=nextstrain/sars-cov-2/wuhan-hu-1/proteins +++ echo '| [staging/nextclade/sars-cov-2/nsp](https://nextstrain.org/staging/nextclade/sars-cov-2/nsp) | [nextstrain/sars-cov-2/wuhan-hu-1/proteins](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/wuhan-hu-1/proteins) | [nextstrain/sars-cov-2/wuhan-hu-1/proteins](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/wuhan-hu-1/proteins) |' +++ for tree_url in "${!trees[@]}" +++ local nextstrain_path=staging/nextclade/sars-cov-2/BA.2.86 +++ local dataset_name=nextstrain/sars-cov-2/BA.2.86 +++ echo '| [staging/nextclade/sars-cov-2/BA.2.86](https://nextstrain.org/staging/nextclade/sars-cov-2/BA.2.86) | [nextstrain/sars-cov-2/BA.2.86](https://github.com/nextstrain/nextclade_data/tree/auto-update-sc2-datasets/data/nextstrain/sars-cov-2/BA.2.86) | [nextstrain/sars-cov-2/BA.2.86](https://clades.nextstrain.org/?dataset-server=gh:@auto-update-sc2-datasets@&dataset-name=nextstrain/sars-cov-2/BA.2.86) |' error fetching organization teams: GraphQL: Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['public_repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens., Your token has not been granted the required scopes to execute this query. The 'slug' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['public_repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens. == *\a\l\r\e\a\d\y\ \e\x\i\s\t\s* ]] + exit 1 Error: Process completed with exit code 1. ```
0 条评论