Skip to content

Copy 16db309c79d132b4369bc81ff6982af393ce7dda #17

Copy 16db309c79d132b4369bc81ff6982af393ce7dda

Copy 16db309c79d132b4369bc81ff6982af393ce7dda #17

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:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 1
persist-credentials: false
- name: Run gha-workflow-validator action
uses: smartcontractkit/.github/actions/gha-workflow-validator@gha-workflow-validator/0.5.2
env:
GITHUB_TOKEN: ${{ github.token }}