Skip to content

Merge changes from 'staging' to 'main' (Update Image Tags for github-repository-dispatcher-service2) #171

Merge changes from 'staging' to 'main' (Update Image Tags for github-repository-dispatcher-service2)

Merge changes from 'staging' to 'main' (Update Image Tags for github-repository-dispatcher-service2) #171

Workflow file for this run

name: Check PR Fields
on:
pull_request:
types:
- opened
- edited
- synchronize
jobs:
check_fields:
runs-on: ubuntu-latest
if: github.event.pull_request.base.ref == 'main'
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.MY_PAT }}
fetch-depth: 0
- name: Run Script to Extract Fields
run: |
bash ./.github/scripts/extract-fields.sh "${{ github.event.pull_request.body }}"
env:
GH_TOKEN: ${{ secrets.MY_PAT }}
shell: bash
- name: echo description.txt
run: |
cat /tmp/description.txt
- name: echo jira.txt
run: |
cat /tmp/jira.txt
- name: echo pr_link.txt
run: |
cat /tmp/pr_link.txt
- name: Run Python Script to Check Fields
run: |
python ./.github/scripts/check-pr-fields.py "${{ github.event.pull_request.number }}"
env:
GITHUB_TOKEN: ${{ secrets.MY_PAT }}