Skip to content

Commit 9be9140

Browse files
committed
Pin cpflow workflows to final review polish
1 parent 5bc5ef8 commit 9be9140

7 files changed

Lines changed: 16 additions & 14 deletions

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ permissions:
1010

1111
jobs:
1212
cleanup:
13-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-cleanup-stale-review-apps.yml@b0c5759050c5c79a05826cd7a5d3ae711cd22a40
13+
# Cleanup targets qa-react-webpack-rails-tutorial-<PR>. Manually delete any
14+
# 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@1d82a6dc510745c3fe9b40b01ea348875a4f1923
1416
with:
15-
control_plane_flow_ref: b0c5759050c5c79a05826cd7a5d3ae711cd22a40
17+
control_plane_flow_ref: 1d82a6dc510745c3fe9b40b01ea348875a4f1923
1618
secrets:
1719
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@b0c5759050c5c79a05826cd7a5d3ae711cd22a40
29+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-delete-review-app.yml@1d82a6dc510745c3fe9b40b01ea348875a4f1923
3030
with:
31-
control_plane_flow_ref: b0c5759050c5c79a05826cd7a5d3ae711cd22a40
31+
control_plane_flow_ref: 1d82a6dc510745c3fe9b40b01ea348875a4f1923
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@b0c5759050c5c79a05826cd7a5d3ae711cd22a40
33+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-review-app.yml@1d82a6dc510745c3fe9b40b01ea348875a4f1923
3434
with:
35-
control_plane_flow_ref: b0c5759050c5c79a05826cd7a5d3ae711cd22a40
35+
control_plane_flow_ref: 1d82a6dc510745c3fe9b40b01ea348875a4f1923
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@b0c5759050c5c79a05826cd7a5d3ae711cd22a40
19+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-deploy-staging.yml@1d82a6dc510745c3fe9b40b01ea348875a4f1923
2020
with:
21-
control_plane_flow_ref: b0c5759050c5c79a05826cd7a5d3ae711cd22a40
21+
control_plane_flow_ref: 1d82a6dc510745c3fe9b40b01ea348875a4f1923
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@b0c5759050c5c79a05826cd7a5d3ae711cd22a40
26+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-help-command.yml@1d82a6dc510745c3fe9b40b01ea348875a4f1923
2727
with:
28-
control_plane_flow_ref: b0c5759050c5c79a05826cd7a5d3ae711cd22a40
28+
control_plane_flow_ref: 1d82a6dc510745c3fe9b40b01ea348875a4f1923

.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@b0c5759050c5c79a05826cd7a5d3ae711cd22a40
21+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-promote-staging-to-production.yml@1d82a6dc510745c3fe9b40b01ea348875a4f1923
2222
with:
23-
control_plane_flow_ref: b0c5759050c5c79a05826cd7a5d3ae711cd22a40
23+
control_plane_flow_ref: 1d82a6dc510745c3fe9b40b01ea348875a4f1923
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
@@ -14,6 +14,6 @@ permissions:
1414

1515
jobs:
1616
show-help:
17-
uses: shakacode/control-plane-flow/.github/workflows/cpflow-review-app-help.yml@b0c5759050c5c79a05826cd7a5d3ae711cd22a40
17+
uses: shakacode/control-plane-flow/.github/workflows/cpflow-review-app-help.yml@1d82a6dc510745c3fe9b40b01ea348875a4f1923
1818
with:
19-
control_plane_flow_ref: b0c5759050c5c79a05826cd7a5d3ae711cd22a40
19+
control_plane_flow_ref: 1d82a6dc510745c3fe9b40b01ea348875a4f1923

0 commit comments

Comments
 (0)