Merge changes from 'staging' to 'main' (Update Image Tags for github-repository-dispatcher-service2) #174
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: 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 }} |