Skip to content

πŸ‘” Restructure automated integration and regression testing flow #7

πŸ‘” Restructure automated integration and regression testing flow

πŸ‘” Restructure automated integration and regression testing flow #7

name: Check for πŸ‘€πŸ’°
on:
pull_request_target:
jobs:
check-for-changes:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- name: Initiate GitHub Check
uses: LouisBrunner/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: "πŸš«πŸ‘€πŸ’°"
status: in_progress
- name: Checkout code
uses: actions/[email protected]
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v45
with:
files: |
.github/workflows/match_target_repository.yaml
.github/workflows/πŸš«πŸ‘€πŸ’°.yaml
- name: Check for workflow changes
id: workflow-changes
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.any_changed }}
run: |
if [ "${CHANGED_FILES}" = "true" ]; then
echo "conclusion=failure" >> "$GITHUB_OUTPUT"
else
echo "conclusion=success" >> "$GITHUB_OUTPUT"
fi
- name: Finalize GitHub Check
uses: LouisBrunner/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: "πŸš«πŸ‘€πŸ’°"
status: completed
conclusion: ${{ steps.workflow-changes.outputs.conclusion }}