Dynamic checklist POC #27
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/** | |
jobs: | |
verify: | |
if: github.actor != 'OSBotify' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: Expensify/App/.github/actions/composite/setupNode@main | |
# 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 |