This repository was archived by the owner on Mar 14, 2025. It is now read-only.
Migrating tests to GAP v2 #616
This file contains hidden or 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@43fe7fdc5d678b962d777a4af76719792f9a4354 # [email protected] | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |