BEN-2931 #1
Workflow file for this run
This file contains 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: Verify Jira tickets status | |
on: [push, pull_request] | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
current-branch-status: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: Assume Role | |
uses: aws-actions/configure-aws-credentials@master | |
with: | |
aws-region: ${{ secrets.REGION }} | |
role-to-assume: arn:aws:iam::${{ secrets.ACCOUNT_NUMBER }}:role/service/${{ secrets.ROLE_NAME }} | |
- name: Get Gorson | |
shell: bash | |
run: | | |
wget -O /usr/local/bin/gorson https://github.com/pbs/gorson/releases/download/4.0.0/gorson-4.0.0-linux-amd64 | |
chmod +x /usr/local/bin/gorson | |
- name: Checking for JIRA tickets status | |
env: | |
AWS_PROFILE: pbs-digi-preprod | |
AWS_REGION: us-east-1 | |
shell: bash | |
run : ./ check_both |