ING-1507: Add handling for guardrail errors 0x36 to 0x38 #367
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: jira-validator | |
| on: [ pull_request ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| Jira_Commit_Checker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| ref: '${{ github.event.pull_request.base.ref }}' | |
| - name: Prep | |
| run: | | |
| BASE_BRANCH=${{ github.event.pull_request.base.ref }} | |
| HEAD_REPO=${{ github.event.pull_request.head.repo.clone_url }} | |
| HEAD_REF=${{ github.event.pull_request.head.ref }} | |
| git fetch --no-tags "$HEAD_REPO" "$HEAD_REF":pr_branch | |
| echo "BASE_BRANCH=$BASE_BRANCH" >> $GITHUB_ENV | |
| - name: Jira Commit Checker | |
| id: jira_commit_checker | |
| uses: couchbaselabs/ActionJiraCommitValidate@master | |
| with: | |
| jira-username: ${{ vars.JIRA_USER }} | |
| jira-api-token: ${{ secrets.JIRA_TOKEN }} | |
| JIRA_URL: 'api.atlassian.com/ex/jira/7fa05bac-b453-4b39-9ec3-830a6365e08a' | |
| BASE_BRANCH: ${{ env.BASE_BRANCH }} |