Skip to content

Commit 8d9a699

Browse files
authored
chore: skip github release and use gpg signed tag flow (#347)
* chore: skip github release and use gpg signed tag flow * chore: point reusable workflows to openfga/.github * chore: add least-privilege top-level permissions to pr-title workflow
1 parent 078c079 commit 8d9a699

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@ jobs:
154154
needs: [publish-maven-central, publish-github-packages]
155155
permissions:
156156
contents: write
157-
uses: openfga/sdk-generator/.github/workflows/undraft-release.yml@main
157+
uses: openfga/.github/.github/workflows/undraft-release.yml@main

.github/workflows/pr-title-check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
pr-title-check:
1114
permissions:
1215
pull-requests: read
13-
uses: openfga/sdk-generator/.github/workflows/pr-title-check.yml@main
16+
uses: openfga/.github/.github/workflows/pr-title-check.yml@main
1417

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: |
3737
github.event_name == 'workflow_dispatch' ||
3838
startsWith(github.event.head_commit.message, 'release:')
39-
uses: openfga/sdk-generator/.github/workflows/release-please.yml@main
39+
uses: openfga/.github/.github/workflows/release-please.yml@main
4040
with:
4141
trigger-event: ${{ github.event_name }}
4242
bump-type: ${{ inputs.bump-type || 'auto' }}

release-please-config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
33
"release-type": "simple",
44
"pull-request-title-pattern": "release: v${version}",
5-
"draft": true,
6-
"force-tag-creation": true,
5+
"skip-github-release": true,
76
"packages": {
87
".": {
98
"package-name": "",

0 commit comments

Comments
 (0)