Skip to content

Labeler

Labeler #4

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
# pull_request_target: # autolabeler on fork pull requests
# types:
# - opened
# - reopened
# - synchronize
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
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 }}