Skip to content

Commit 25792e6

Browse files
chore: Introduce a failure handler to V1 OAS release runner (#1020)
1 parent 6c48ce2 commit 25792e6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release-spec-v1.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,15 @@ jobs:
8787
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
8888
branch: ${{env.target_branch}}
8989
file_pattern: "openapi/v1-deprecated/*"
90+
91+
failure-handler:
92+
name: Failure Handler
93+
needs: [ release-v1-oas-apis ]
94+
if: ${{ always() && contains(needs.*.result, 'failure') }}
95+
uses: ./.github/workflows/failure-handler.yml
96+
with:
97+
env: ${{ inputs.env }}
98+
release_name: "OpenAPI Spec v1"
99+
team_id: ${{ vars.JIRA_TEAM_ID_APIX_PLATFORM }}
100+
secrets:
101+
jira_api_token: ${{ secrets.JIRA_API_TOKEN }}

0 commit comments

Comments
 (0)