Skip to content

Labeler

Labeler #11

Workflow file for this run

# Code generated by craft; DO NOT EDIT.
name: Labeler
run-name: Labeler
on:
pull_request: # autolabeler on project pull requests
types:
- opened
- reopened
- synchronize
- ready_for_review
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.ref_protected == false) }}
permissions:
contents: read # enfore rights to specify no release, even draft, is created
pull-requests: write
steps:
# https://github.com/marketplace/actions/release-drafter
- id: drafter
uses: release-drafter/release-drafter@v6
with:
commitish: ${{ github.base_ref }}
config-name: labeler.yml
latest: false
name: v$RESOLVED_VERSION
prerelease-identifier: labeler
prerelease: true
publish: false
tag: v$RESOLVED_VERSION
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}