diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml new file mode 100644 index 0000000..a06af13 --- /dev/null +++ b/.github/workflows/release-please.yaml @@ -0,0 +1,24 @@ +name: Release Please + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + issues: write + +jobs: + release-please: + name: Release Please + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Run release-please + uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0 + with: + release-type: simple + target-branch: main diff --git a/.gitignore b/.gitignore index 106b959..5a49f81 100644 --- a/.gitignore +++ b/.gitignore @@ -11,12 +11,15 @@ !/.github/dependabot.yml !/.github/workflows/ !/.github/workflows/release-artifact.yml +!/.github/workflows/release-please.yaml !/.github/workflows/verify.yml !/.gitignore +!/.release-please-manifest.json !/LICENSE !/Makefile !/README.md !/SECURITY.md +!/release-please-config.json !/bin/ !/bin/secure-packer-bootstrapper diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..37fcefa --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.0.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..04f58ce --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "target-branch": "main", + "changelog-sections": [ + { "type": "feat", "section": "Features" }, + { "type": "fix", "section": "Bug Fixes" }, + { "type": "security", "section": "Security" }, + { "type": "refactor", "section": "Refactoring" }, + { "type": "ci", "section": "CI/CD" }, + { "type": "docs", "section": "Documentation" }, + { "type": "chore", "section": "Chores", "hidden": true }, + { "type": "test", "section": "Tests", "hidden": true } + ], + "pull-request-title-pattern": "chore: release ${version}", + "include-v-in-tag": true, + "packages": { + ".": {} + } +}