Skip to content
Merged
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
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Shared go-service CI from compliance-framework/workflows, pinned to a release commit that
# ccf-bump moves. The status check to require is `ci / required`.
# ccf-bump moves. The status checks to require are `ci / required` and
# `release-checks / release-checks` (skipped, so passing, on non-release PRs).
name: ci

on:
Expand Down Expand Up @@ -30,8 +31,13 @@ jobs:
security-events: write
secrets: inherit

release-checks:
uses: compliance-framework/workflows/.github/workflows/release-checks.yml@899dbe5d7dac02de5fd60a92d764b189259e03dd # v1.5.0
permissions:
contents: read

notify:
needs: [ci]
needs: [ci, release-checks]
if: always()
uses: compliance-framework/workflows/.github/workflows/notify-failure.yml@899dbe5d7dac02de5fd60a92d764b189259e03dd # v1.5.0
with:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Opens and updates the release PR from the conventional commits on main, and creates the
# vX.Y.Z tag and GitHub release when that PR merges, as ccf-release-bot. The config is
# release-please-config.json (the shared defaults) and .release-please-manifest.json.
name: release-please

on:
push:
branches: [main]

permissions:
contents: read

concurrency:
group: release-please

jobs:
release-please:
uses: compliance-framework/workflows/.github/workflows/release-please.yml@899dbe5d7dac02de5fd60a92d764b189259e03dd # v1.5.0
permissions:
contents: read
secrets: inherit
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.21.0"
}
22 changes: 22 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bump-minor-pre-major": true,
"initial-version": "0.1.0",
"bootstrap-sha": "0b0cefc039302a63d356cda7528c796a2113bf08",
"changelog-sections": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "revert", "section": "Reverts" },
{ "type": "deps", "section": "Dependencies" },
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": true },
{ "type": "ci", "section": "Continuous Integration", "hidden": true },
{ "type": "docs", "section": "Documentation", "hidden": true },
{ "type": "test", "section": "Tests", "hidden": true },
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
{ "type": "build", "section": "Build System", "hidden": true }
],
"packages": {
".": { "release-type": "go" }
}
}
Loading