Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ env:
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write # to create release commit
pull-requests: write # to create release PR
issues: write # to create labels

# Release-please creates a PR that tracks all changes
steps:
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5
id: release
with:
command: manifest
token: ${{secrets.GITHUB_TOKEN}}
default-branch: main
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release_tag_name: ${{ steps.release.outputs.tag_name }}
Expand All @@ -35,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Install cyclonedx-gomod
uses: CycloneDX/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # v2
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ changelog:
exclude:
- "^docs:"
- "^test:"
release:
use_existing_draft: true
Comment thread
erka marked this conversation as resolved.
sboms:
- documents:
- bom.json
Expand Down
6 changes: 5 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"signoff": "OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com>",
Comment thread
erka marked this conversation as resolved.
"bootstrap-sha": "95df901b104dadc8902117c87d2e412d78d6a620",
"packages": {
".": {
"release-type": "go",
"prerelease": false,
"draft": true,
"force-tag-creation": true,
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"extra-files": ["README.md"],
Expand Down Expand Up @@ -63,4 +67,4 @@
]
}
}
}
}
Loading