feat: add resource-permit api implementation #113
This file contains hidden or 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: "Check Pull Request" | ||
|
Check warning on line 1 in .github/workflows/check-pr.yaml
|
||
| on: | ||
| pull_request_target: | ||
| types: | ||
| - opened | ||
| - edited | ||
| - synchronize | ||
| permissions: | ||
| pull-requests: write | ||
| jobs: | ||
| main: | ||
| name: Validate PR title | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| types: | | ||
| chore | ||
| ci | ||
| docs | ||
| feat | ||
| fix | ||
| test | ||
| sec | ||
| requireScope: false | ||
| wip: false | ||
| # If the PR only contains a single commit, the action will validate that | ||
| # it matches the configured pattern. | ||
| validateSingleCommit: true | ||
| # Related to `validateSingleCommit` you can opt-in to validate that the PR | ||
| # title matches a single commit to avoid confusion. | ||
| validateSingleCommitMatchesPrTitle: true | ||