fix(ast): prevent TU parent from including unmatched globals #3
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: PR Target Checks | |
| on: | |
| # Uses base-repo token and never executes PR code. | |
| pull_request_target: | |
| branches: | |
| - develop | |
| concurrency: | |
| group: ${{ format('{0}:{1}:{2}', github.repository, github.ref, github.event_name) }} | |
| cancel-in-progress: true | |
| jobs: | |
| repo-checks: | |
| name: Base-token checks | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| statuses: write | |
| steps: | |
| - name: Checkout base revision | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install repo-check tools | |
| run: npm --prefix util/danger ci | |
| - name: Repo checks (Danger.js) | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: npx --prefix util/danger danger ci --dangerfile util/danger/dangerfile.ts |