feat(shield): allow to override capabilities [SMAGENT-8408] #4867
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: PR Lint | |
on: | |
pull_request_target: | |
types: [opened, edited, reopened, synchronize] | |
branches: [main] | |
jobs: | |
pr-lint: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: morrisoncole/[email protected] | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
title-regex: "^(\\w*)(?:\\(([\\w\\$\\.\\,\\-\\*\\s]*)\\))?\\:\\s?(.*)$" | |
on-failed-regex-fail-action: false | |
on-failed-regex-create-review: true | |
on-failed-regex-request-changes: true | |
on-failed-regex-comment: "PR title does not comply with regex: `%regex%`! <br /> Check PR guidelines at https://github.com/sysdiglabs/charts/blob/main/README.md#pull-requests" |