Skip to content

Commit c7d6863

Browse files
committed
Bypass rules to push the changelog in release.yml
1 parent 8e98f7e commit c7d6863

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
required: true
99
doPublish:
1010
type: boolean
11-
description: "Maven publication (if false, only the changelog and GitHub release are done)"
11+
description: "Publish to maven (if unchecked, only the changelog, GitHub release, and git tag are done)"
1212
required: true
1313
default: true
1414

@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
23+
with:
24+
token: ${{ secrets.GH_PAT }} # to bypass branch protection rules to push the changelog
2325

2426
- name: Set up JDK
2527
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)