From 4dbf20dd2ef204903fd0141be727b3313ca13616 Mon Sep 17 00:00:00 2001 From: Arun Poudel Date: Thu, 19 Oct 2023 09:41:15 +0200 Subject: [PATCH] release drafter (#60) This changes introduces new workflow which creates draft releases automatically, when a PR is create. [See](https://github.com/coopnorge/engineering-issues/issues/325) for discussion on why this was necessary. [Docs](https://inventory.internal.coop/docs/default/Component/github-workflow-release-drafter) on how release-drafter works. --- .github/workflows/release-drafter.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release-drafter.yaml diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml new file mode 100644 index 0000000..8825b23 --- /dev/null +++ b/.github/workflows/release-drafter.yaml @@ -0,0 +1,20 @@ +name: Release Drafter +on: + push: + branches: + - main + pull_request: + types: + - opened + - reopened + - synchronize + - edited +permissions: + contents: read + +jobs: + release-draft: + permissions: + pull-requests: write + contents: write + uses: coopnorge/github-workflow-release-drafter/.github/workflows/release-drafter-go.yaml@v0.1.2