feat: DIA-1415: Add LabelConfig->ResponseModel generator #566
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 labeler" | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
- ready_for_review | |
branches: | |
- master | |
- 'release/**' | |
env: | |
ACTIONS_STEP_DEBUG: '${{ secrets.ACTIONS_STEP_DEBUG }}' | |
jobs: | |
autolabel: | |
name: "PR label validator" | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: hmarr/[email protected] | |
- name: "Validate PR's title" | |
uses: thehanimo/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ github.token }} | |
pass_on_octokit_error: false | |
configuration_path: ".github/pr-title-checker-config.json" | |
- name: "Set PR's label based on title" | |
uses: release-drafter/[email protected] | |
with: | |
disable-releaser: true | |
config-name: autolabeler.yml | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |