From e450ddea74c1fd7b43f0a0139efcac42ed0fccd3 Mon Sep 17 00:00:00 2001 From: airthings-atlantis Date: Wed, 11 Dec 2024 11:08:53 +0000 Subject: [PATCH] Managed by Terraform, updates managed through: https://github.com/Airthings/kotlin-libraries --- .github/workflows/auto_release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/auto_release.yml diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml new file mode 100644 index 00000000..99c2cf57 --- /dev/null +++ b/.github/workflows/auto_release.yml @@ -0,0 +1,24 @@ +name: auto-release + +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-latest + steps: + # Get PR from merged commit to master + - uses: actions-ecosystem/action-get-merged-pull-request@v1 + id: get-merged-pull-request + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + # Drafts your next Release notes as Pull Requests are merged into "main" + - uses: release-drafter/release-drafter@v5 + with: + publish: ${{ !contains(steps.get-merged-pull-request.outputs.labels, 'no-release') }} + prerelease: false + config-name: release_conf.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}