Skip to content

chore: Merge support into master #7299

chore: Merge support into master

chore: Merge support into master #7299

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 }}