[vcluster]: Add audit feature to apiserver #177
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 Validation' | |
on: | |
pull_request_target: | |
types: [opened, reopened, edited] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: morrisoncole/[email protected] | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
title-regex: '^\[[a-zA-Z0-9\,\_\-]+\]\:.+' | |
on-failed-regex-fail-action: true | |
on-failed-regex-request-changes: false | |
on-failed-regex-create-review: false | |
on-failed-regex-comment: | |
"Pull Request validation failed. Please checkout out the [contribution guidelines](https://github.com/bedag/helm-charts/blob/master/CONTRIBUTING.md#pull-requests). Regex did not match: `%regex%`!" |