[OldDot Rules Migration] Tag rules #28093
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: Validate Github Actions | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches-ignore: [staging, production] | |
paths: ['.github/**', 'package.json', 'package-lock.json', 'tsconfig.json'] | |
jobs: | |
verify: | |
if: github.actor != 'OSBotify' && github.actor != 'imgbot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: ./.github/actions/composite/setupNode | |
# Rebuild all the actions on this branch and check for a diff. Fail if there is one, | |
# because that would be a sign that the PR author did not rebuild the Github Actions | |
- name: Verify Javascript Action Builds | |
run: ./.github/scripts/verifyActions.sh | |
- name: Validate actions and workflows | |
run: npm run gh-actions-validate |