Cherry pick chainlink
PRs
#492
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: GHA Workflow Validation | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
validate-workflows: | |
name: Validate Workflow Changes | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
# Skip on merge group events | |
if: ${{ github.event_name == 'pull_request' }} | |
steps: | |
# checkout repo if not pull_request trigger (disabled for now) | |
- name: Checkout Repo | |
if: github.event_name != 'pull_request' | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Run gha-workflow-validator action | |
uses: smartcontractkit/.github/actions/gha-workflow-validator@ac1fa37beb1436800d74b7717f614a12137a70a6 # [email protected] | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |