Skip to content

Commit 4a42fdf

Browse files
committed
ci: update release pipeline to allow skipping test checks
1 parent 6c45c52 commit 4a42fdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pipeline-release-tag.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ jobs:
115115
run_id: ${{ github.run_id }}
116116
setup-python: true
117117

118-
- run: |
118+
- if: ${{ inputs.skip-test-checks == 'false' || inputs.skip-test-checks == false }}
119+
name: Mark as success
120+
run: |
119121
curl --fail-with-body -X PATCH \
120122
https://api.supertokens.io/0/driver \
121123
-H 'Content-Type: application/json' \
@@ -154,6 +156,7 @@ jobs:
154156
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
155157
156158
- name: Check tests passed
159+
if: ${{ inputs.skip-test-checks == 'false' || inputs.skip-test-checks == false }}
157160
run: |
158161
testsPassed=`curl -s -X GET "https://api.supertokens.io/0/driver?password=${{ secrets.SUPERTOKENS_API_KEY }}&version=${{ needs.setup.outputs.packageVersion }}&name=node" -H 'api-version: 0'`
159162

0 commit comments

Comments
 (0)