Skip to content

fix: Prevent build step in modules from running in parallel #7269

fix: Prevent build step in modules from running in parallel

fix: Prevent build step in modules from running in parallel #7269

name: "Lint PR"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
lint-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Package Scopes
id: scope-vars
run: echo "::set-output name=scopes::$(node utils/get-package-names.js)"
# Please look up the latest version from
# https://github.com/amannn/action-semantic-pull-request/releases
- uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
scopes: ${{steps.scope-vars.outputs.scopes}}
subjectPattern: ^[A-Z].+$
- uses: Workday/canvas-kit-actions/verify-pull-request@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}