chore: Merge support into master #7299
Workflow file for this run
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: "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 }} | |