Skip auto-assign when commenter/reviewer is the PR author #61
Workflow file for this run
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: Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: '*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| id: cache | |
| with: | |
| path: '**/node_modules' | |
| key: yarn-v1-${{ hashFiles('**/yarn.lock') }} | |
| - name: Install | |
| run: yarn --immutable | |
| if: steps.cache.outputs.cache-hit != 'true' | |
| - name: Build | |
| run: yarn build |