Skip to content

Commit

Permalink
Merge pull request #3 from BigMichi1/BigMichi1-patch-1
Browse files Browse the repository at this point in the history
fix configuration of release drafter
  • Loading branch information
BigMichi1 authored Mar 7, 2024
2 parents 9afb22d + c02b796 commit 3933359
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
exclude-labels:
- 'skip-changelog'
- 'automerge'
sort-by: 'title'
version-resolver:
major:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,25 @@ name: Release Drafter
on:
push:
branches:
- master
- main
workflow_dispatch:

pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit

- uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 # v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GRADLE_UPDATE_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3933359

Please sign in to comment.