fix: avoid cross-geo calls #18167
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: Pull Request Validation | |
on: | |
pull_request: | |
types: [opened, edited, synchronize] | |
jobs: | |
conventional-pr: | |
name: Conventional PR | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cache Node Modules | |
uses: actions/cache@preview | |
with: | |
path: ./.github/actions/conventional-pr/node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('.github/actions/conventional-pr/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Prepare Action | |
working-directory: .github/actions/conventional-pr | |
run: npm install && npm run build | |
- name: Validate PR Style | |
uses: ./.github/actions/conventional-pr | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |