Skip to content

Commit 46bd16f

Browse files
committed
chore(cicd): run serial/use SHA
1 parent 349f3da commit 46bd16f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/update-gql-data.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
jobs:
77
update-gql-data:
88
runs-on: ubuntu-22.04
9+
concurrency:
10+
group: serial
11+
cancel-in-progress: false
912
permissions:
1013
contents: 'read'
1114
id-token: 'write'
@@ -22,7 +25,7 @@ jobs:
2225
- name: 'Make snapshot'
2326
run: |
2427
gcloud compute snapshots create gql-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT} \
25-
--labels=trigger=gql-data-update,next-head-ref=${GITHUB_HEAD_REF} \
28+
--labels=trigger=gql-data-update,next-head-ref=${GITHUB_SHA} \
2629
--snapshot-type=ARCHIVE \
2730
--source-disk=graphql5 \
2831
--source-disk-zone=us-east1-b \

0 commit comments

Comments
 (0)