Merge pull request #692 from gaphor/pre-commit-ci-update-config #699
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: Release Drafter | |
on: | |
push: | |
branches: main | |
permissions: | |
contents: read | |
jobs: | |
update-release-draft: | |
permissions: | |
contents: write # for release-drafter/release-drafter to create a github release | |
pull-requests: write # for release-drafter/release-drafter to add label to PR | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
steps: | |
# Drafts your next Release notes as Pull Requests are merged into "main" | |
- name: Harden Runner | |
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0 | |
with: | |
egress-policy: audit | |
- uses: release-drafter/release-drafter@65c5fb495d1e69aa8c08a3317bc44ff8aabe9772 # v5.24.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |