Skip to content

Commit 993c021

Browse files
committed
feat: pages project production branch should match env type
1 parent 367b773 commit 993c021

3 files changed

Lines changed: 48 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Wait using check-regexp
2+
on:
3+
push:
4+
5+
jobs:
6+
wait-for-check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- name: Wait on tests
12+
uses: lewagon/wait-on-check-action@v1.3.3
13+
with:
14+
ref: ${{ github.sha }}
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
check-name: workflow-success

.github/workflows/scripts.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,19 @@ jobs:
7373
- name: Run tsc
7474
run: npm run check
7575
if: ${{ !cancelled() }}
76+
77+
workflow-success:
78+
name: Scripts Workflow Success Check
79+
id: workflow-success
80+
runs-on: ubuntu-latest
81+
needs: [pre-job, scripts-unit-tests]
82+
if: always()
83+
steps:
84+
- name: Checkout repository
85+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
86+
with:
87+
persist-credentials: false
88+
- name: Check Workflow Status
89+
uses: immich-app/devtools/actions/success-check@6b81b1572e466f7f48ba3c823159ce3f4a4d66a6
90+
with:
91+
needs: ${{ toJson(needs) }}

.github/workflows/terragrunt.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,19 @@ jobs:
131131
run: |
132132
mise run tf init -reconfigure
133133
mise run tf apply --terragrunt-non-interactive
134+
135+
workflow-success:
136+
name: Scripts Workflow Success Check
137+
id: workflow-success
138+
runs-on: ubuntu-latest
139+
needs: [plan, deploy]
140+
if: always()
141+
steps:
142+
- name: Checkout repository
143+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
144+
with:
145+
persist-credentials: false
146+
- name: Check Workflow Status
147+
uses: immich-app/devtools/actions/success-check@6b81b1572e466f7f48ba3c823159ce3f4a4d66a6
148+
with:
149+
needs: ${{ toJson(needs) }}

0 commit comments

Comments
 (0)