Skip to content

Commit c2d2a4d

Browse files
authored
Merge pull request #367 from QuantStrategyLab/ci/skip-pin-only-cloud-run-deploy
ci: block pin-only Cloud Run deploys [skip-cloud-run-deploy]
2 parents c5d6adf + 2da8beb commit c2d2a4d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/sync-cloud-run-env.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ jobs:
7070
(
7171
github.event_name == 'workflow_run' &&
7272
github.event.workflow_run.conclusion == 'success' &&
73-
github.event.workflow_run.event == 'push'
73+
github.event.workflow_run.event == 'push' &&
74+
!contains(github.event.workflow_run.head_commit.message, 'chore(deps): align QPK pin') &&
75+
!contains(github.event.workflow_run.head_commit.message, '[skip-cloud-run-deploy]')
7476
)
7577
runs-on: ubuntu-latest
7678
timeout-minutes: 20

0 commit comments

Comments
 (0)