diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml new file mode 100644 index 0000000..73742d5 --- /dev/null +++ b/.github/workflows/go-release.yml @@ -0,0 +1,68 @@ +name: Go - Release + +on: + push: + branches: + - main + workflow_dispatch: { } + +permissions: + contents: read + +jobs: + release: + name: Release + permissions: + contents: write + packages: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@ca6063f4ed81b55db15b8c42d1b6f7925866342d # v3 + id: release + with: + release-type: go + package-name: kustomize-plugin-merger + skip-github-release: true + changelog-types: | + [ + { + "type": "feat", + "section": "Features", + "hidden": false + }, + { + "type": "fix", + "section": "Bug Fixes", + "hidden": false + }, + { + "type": "docs", + "section": "Documentation", + "hidden": false + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": false + } + ] + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + with: + fetch-tags: true + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 + with: + go-version: '1.21' + - name: Login to GitHub Container Registry + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@5fdedb94abba051217030cc86d4523cf3f02243d # v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + version: latest + args: release --clean --release-notes CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..fbd9eb5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,27 @@ +# Changelog + +## 1.0.0 (2023-09-10) + + +### Features + +* first working version of merger ([bd0ef52](https://github.com/aabouzaid/kustomize-plugin-merger/commit/bd0ef52ef46381c13ab8ebcf1cc6970328910b64)) + + +### Documentation + +* update the main readme and use cases ([1d2e9d4](https://github.com/aabouzaid/kustomize-plugin-merger/commit/1d2e9d45d3aa8ca3bae49ef11361cf4ed43338d9)) +* use case - append CustomResources lists without schema ([4be2cc1](https://github.com/aabouzaid/kustomize-plugin-merger/commit/4be2cc168219fe040a556a02cfdd8d76b9c9695e)) +* use case - Generate multiple manifests from a single file ([37b9ce1](https://github.com/aabouzaid/kustomize-plugin-merger/commit/37b9ce1c7a8d4daabc5a6762d1d5e3a1566c1e02)) +* use case - Organize long manifests into smaller ones ([dad79e0](https://github.com/aabouzaid/kustomize-plugin-merger/commit/dad79e0a9e19f46d261c6ed288d25756d59ab559)) + + +### Continuous Integration + +* add go release workflow ([f287bed](https://github.com/aabouzaid/kustomize-plugin-merger/commit/f287bed3b009dd2b8e62139974b71c615290bf57)) +* go linter config and ci workflow ([#1](https://github.com/aabouzaid/kustomize-plugin-merger/issues/1)) ([8a3c75e](https://github.com/aabouzaid/kustomize-plugin-merger/commit/8a3c75e1d9eccc9f5ef1211f033b2a5e5d2338cf)) +* go releaser ([#2](https://github.com/aabouzaid/kustomize-plugin-merger/issues/2)) ([df20b82](https://github.com/aabouzaid/kustomize-plugin-merger/commit/df20b8281c8107832f0f66d0f857f5f32d558215)) +* renovate for dependency update ([#4](https://github.com/aabouzaid/kustomize-plugin-merger/issues/4)) ([61ea189](https://github.com/aabouzaid/kustomize-plugin-merger/commit/61ea189dca345c24e4141bc479da6eb1becfd3aa)) +* **security:** apply best practices by step security ([#8](https://github.com/aabouzaid/kustomize-plugin-merger/issues/8)) ([fe208e0](https://github.com/aabouzaid/kustomize-plugin-merger/commit/fe208e06b1d35c454cddcec881d6c282b1691a0a)) +* **security:** codeql analysis workflow ([#3](https://github.com/aabouzaid/kustomize-plugin-merger/issues/3)) ([246696c](https://github.com/aabouzaid/kustomize-plugin-merger/commit/246696c73b5c0635ca421727d6e88035a02eb80a)) +* **security:** Scorecard security workflow ([52c4496](https://github.com/aabouzaid/kustomize-plugin-merger/commit/52c4496f409c13536c8adf6f3539eb0f1c605944))