Labeler #9
Workflow file for this run
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
# 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 }} |