Skip to content

Commit 1923944

Browse files
fix: remove failure handler from required validation
1 parent a7c2723 commit 1923944

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

.github/workflows/release-spec.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ jobs:
8585
uses: ./.github/workflows/required-spec-validations.yml
8686
secrets:
8787
api_bot_pat: ${{ secrets.api_bot_pat }}
88-
jira_api_token: ${{ secrets.jira_api_token }}
8988
with:
9089
spectral_version: ${{ inputs.spectral_version }}
9190
env: ${{ inputs.env }}

.github/workflows/required-spec-validations.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ on:
1313
secrets: # all secrets are passed explicitly in this workflow
1414
api_bot_pat:
1515
required: true
16-
jira_api_token:
17-
required: true
1816
permissions:
1917
contents: write
20-
issues: write
2118

2219
jobs:
2320
required-validations:
@@ -67,29 +64,3 @@ jobs:
6764
pushd atlas-sdk-go
6865
make -e openapi-pipeline
6966
popd
70-
retry-handler:
71-
needs: [ required-validations ]
72-
if: ${{ always() && contains(needs.*.result, 'failure') && fromJSON(github.run_attempt) < 3}}
73-
runs-on: ubuntu-latest
74-
steps:
75-
- name: Checkout repository
76-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
77-
with:
78-
ref: main
79-
token: ${{secrets.api_bot_pat}}
80-
- env:
81-
GH_REPO: ${{ github.repository }}
82-
GH_TOKEN: ${{ secrets.api_bot_pat }}
83-
run: gh workflow run retry-handler.yml -F run_id=${{ github.run_id }}
84-
85-
failure-handler:
86-
name: Failure Handler
87-
needs: [ required-validations, retry-handler ]
88-
if: ${{ always() && contains(needs.*.result, 'failure') && needs.retry-handler.result == 'skipped' }}
89-
uses: ./.github/workflows/failure-handler.yml
90-
with:
91-
env: ${{ inputs.env }}
92-
release_name: "Require OpenAPI Validation"
93-
team_id: ${{ vars.JIRA_TEAM_ID_APIX_PLATFORM }}
94-
secrets:
95-
jira_api_token: ${{ secrets.JIRA_API_TOKEN }}

0 commit comments

Comments
 (0)