Skip to content

Commit 84ea6b3

Browse files
committed
Pin cpflow workflows to safety guard fixes
1 parent 11033a9 commit 84ea6b3

8 files changed

Lines changed: 15 additions & 15 deletions

.controlplane/shakacode-team.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Optional repository settings:
7878
- `ROLLBACK_READINESS_RETRIES` / `ROLLBACK_READINESS_INTERVAL`: post-rollback health polling controls; defaults to `24` retries and `15` seconds.
7979

8080
Current workflow wrappers are pinned to upstream `control-plane-flow` PR #318 at
81-
`1fd7de511099278dc9dccd4c28b146d809cf36bc` for downstream testing. After that
81+
`19501451b7e08a48a917fb04a439171881558f82` for downstream testing. After that
8282
upstream work is released, regenerate or repin the wrappers to the release tag
8383
instead of keeping this PR commit SHA long term.
8484

.github/workflows/cpflow-cleanup-stale-review-apps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
cleanup:
1313
# Cleanup targets qa-react-webpack-rails-tutorial-<PR>. Manually delete any
1414
# legacy qa-react-webpack-rails-tutorial-pr-<PR> apps during migration.
15-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-cleanup-stale-review-apps.yml@1fd7de511099278dc9dccd4c28b146d809cf36bc
15+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-cleanup-stale-review-apps.yml@19501451b7e08a48a917fb04a439171881558f82
1616
with:
17-
control_plane_flow_ref: 1fd7de511099278dc9dccd4c28b146d809cf36bc
17+
control_plane_flow_ref: 19501451b7e08a48a917fb04a439171881558f82
1818
secrets:
1919
CPLN_TOKEN_STAGING: ${{ secrets.CPLN_TOKEN_STAGING }}

.github/workflows/cpflow-delete-review-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) ||
2727
(github.event_name == 'pull_request_target' && github.event.action == 'closed') ||
2828
github.event_name == 'workflow_dispatch'
29-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-delete-review-app.yml@1fd7de511099278dc9dccd4c28b146d809cf36bc
29+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-delete-review-app.yml@19501451b7e08a48a917fb04a439171881558f82
3030
with:
31-
control_plane_flow_ref: 1fd7de511099278dc9dccd4c28b146d809cf36bc
31+
control_plane_flow_ref: 19501451b7e08a48a917fb04a439171881558f82
3232
secrets:
3333
CPLN_TOKEN_STAGING: ${{ secrets.CPLN_TOKEN_STAGING }}

.github/workflows/cpflow-deploy-review-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
github.event.issue.pull_request &&
3131
contains(fromJson('["+review-app-deploy","+review-app-deploy\n","+review-app-deploy\r\n"]'), github.event.comment.body) &&
3232
contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association))
33-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-review-app.yml@1fd7de511099278dc9dccd4c28b146d809cf36bc
33+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-review-app.yml@19501451b7e08a48a917fb04a439171881558f82
3434
with:
35-
control_plane_flow_ref: 1fd7de511099278dc9dccd4c28b146d809cf36bc
35+
control_plane_flow_ref: 19501451b7e08a48a917fb04a439171881558f82
3636
secrets:
3737
CPLN_TOKEN_STAGING: ${{ secrets.CPLN_TOKEN_STAGING }}
3838
DOCKER_BUILD_SSH_KEY: ${{ secrets.DOCKER_BUILD_SSH_KEY }}

.github/workflows/cpflow-deploy-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ permissions:
1616

1717
jobs:
1818
deploy-staging:
19-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-staging.yml@1fd7de511099278dc9dccd4c28b146d809cf36bc
19+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-staging.yml@19501451b7e08a48a917fb04a439171881558f82
2020
with:
21-
control_plane_flow_ref: 1fd7de511099278dc9dccd4c28b146d809cf36bc
21+
control_plane_flow_ref: 19501451b7e08a48a917fb04a439171881558f82
2222
staging_app_branch_default: ""
2323
secrets:
2424
CPLN_TOKEN_STAGING: ${{ secrets.CPLN_TOKEN_STAGING }}

.github/workflows/cpflow-help-command.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
contains(fromJson('["+review-app-help","+review-app-help\n","+review-app-help\r\n"]'), github.event.comment.body) &&
2424
contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association)) ||
2525
github.event_name == 'workflow_dispatch'
26-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-help-command.yml@1fd7de511099278dc9dccd4c28b146d809cf36bc
26+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-help-command.yml@19501451b7e08a48a917fb04a439171881558f82
2727
with:
28-
control_plane_flow_ref: 1fd7de511099278dc9dccd4c28b146d809cf36bc
28+
control_plane_flow_ref: 19501451b7e08a48a917fb04a439171881558f82

.github/workflows/cpflow-promote-staging-to-production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
if: github.event.inputs.confirm_promotion == 'promote'
1919
# Keep the @ref in `uses:` and `control_plane_flow_ref` below in sync: the
2020
# first selects the reusable workflow, the second selects its shared actions.
21-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-promote-staging-to-production.yml@1fd7de511099278dc9dccd4c28b146d809cf36bc
21+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-promote-staging-to-production.yml@19501451b7e08a48a917fb04a439171881558f82
2222
with:
23-
control_plane_flow_ref: 1fd7de511099278dc9dccd4c28b146d809cf36bc
23+
control_plane_flow_ref: 19501451b7e08a48a917fb04a439171881558f82
2424
# Keep CPLN_TOKEN_PRODUCTION as a secret on this protected GitHub
2525
# Environment. The caller passes the environment name, the upstream
2626
# reusable workflow runs its production job in that environment, and

.github/workflows/cpflow-review-app-help.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
# This is intentionally unconditional: adding this wrapper opts the repo in
1818
# to PR-open help. Remove the wrapper or add a repo-specific `if:` guard if
1919
# review apps should not be advertised before Control Plane is configured.
20-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-review-app-help.yml@1fd7de511099278dc9dccd4c28b146d809cf36bc
20+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-review-app-help.yml@19501451b7e08a48a917fb04a439171881558f82
2121
with:
22-
control_plane_flow_ref: 1fd7de511099278dc9dccd4c28b146d809cf36bc
22+
control_plane_flow_ref: 19501451b7e08a48a917fb04a439171881558f82

0 commit comments

Comments
 (0)