Bump stefanzweifel/git-auto-commit-action from 6.0.1 to 7.2.0 (#3684) #1441
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: Pixel Schema Validation | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| pixel-validation: | |
| if: github.actor != 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| env: | |
| HAS_INTERNAL_REPO: ${{ secrets.GH_RO_PAT != '' }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: 'npm' | |
| - name: Checkout internal-github-asana-utils repo | |
| if: ${{ env.HAS_INTERNAL_REPO == 'true' }} | |
| uses: actions/checkout@v6 | |
| with: | |
| token: ${{ secrets.GH_RO_PAT }} | |
| path: internal-github-asana-utils | |
| repository: duckduckgo/internal-github-asana-utils | |
| - run: npm run install-ci | |
| - name: Validate pixel definitions | |
| run: | | |
| if [ "$HAS_INTERNAL_REPO" = "true" ]; then | |
| npm run validate-pixel-defs -- -g ./internal-github-asana-utils/user_map.yml | |
| else | |
| echo "Owner validation will be skipped because the user map is not available (expected for fork PRs)." | |
| npm run validate-pixel-defs | |
| fi |