Skip to content

Commit 0ca3327

Browse files
authored
Merge pull request #7 from jescalada/1517-gitlabflow-workflow-fixes
feat: attempt to fix release-drafter labeling and drafting
2 parents 34efe8c + fb649c0 commit 0ca3327

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name-template: 'Version $RESOLVED_VERSION'
2+
name-template: 'v$RESOLVED_VERSION'
33
tag-template: 'v$RESOLVED_VERSION'
44
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
55
template: |

.github/workflows/pr-lint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
pr_title:
1818
permissions:
19-
contents: write
19+
contents: read
2020
pull-requests: write
2121
statuses: write
2222
name: Validate & Label PR
@@ -45,8 +45,11 @@ jobs:
4545
revert
4646
test
4747
break
48+
49+
# Run release-drafter in label-only mode, drafts are made in release-drafter.yml
4850
- uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7
4951
with:
50-
commitish: main
52+
config-name: release-drafter.yml
53+
disable-releaser: true
5154
env:
5255
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.

0 commit comments

Comments
 (0)