Skip to content

feat: Info Highlight Creation #7370

feat: Info Highlight Creation

feat: Info Highlight Creation #7370

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