Skip to content

Commit 09b9ac3

Browse files
feat(github): prepare for prod
1 parent f080e69 commit 09b9ac3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/checks.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@ name: Check PR
22

33
on:
44
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
59
paths-ignore:
610
- .github
711

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
816
jobs:
917
vars:
18+
if: github.event.pull_request.draft == false
1019
runs-on: ubuntu-latest
1120
outputs:
1221
test-shop-id: ${{ steps.test.outputs.test-shop-id }}
@@ -22,7 +31,7 @@ jobs:
2231
echo "test-api-url=$(echo $TEST_API_URL | base64 -w0 | base64 -w0)" >> $GITHUB_OUTPUT
2332
2433
run:
25-
if: ${{ !startsWith(github.ref_name, 'release') }}
34+
if: github.event.pull_request.draft == false
2635
needs: vars
2736
uses: rees46/workflow/.github/workflows/reusable-ios-checks.yaml@master
2837
permissions: write-all

0 commit comments

Comments
 (0)