From b10e440f176fc692647690e217e1ed48dd847f1d Mon Sep 17 00:00:00 2001 From: Vadzim Date: Fri, 18 Mar 2022 14:30:17 +0100 Subject: [PATCH] Configure eve to create a release from tag Update github actions to start processing when release is published --- .config/eve.yaml | 18 ++++++++++++++++++ ...release-action.yaml => publish-action.yaml} | 13 ++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 .config/eve.yaml rename .github/workflows/{release-action.yaml => publish-action.yaml} (80%) diff --git a/.config/eve.yaml b/.config/eve.yaml new file mode 100644 index 0000000..2a11e1c --- /dev/null +++ b/.config/eve.yaml @@ -0,0 +1,18 @@ +version: 1 # This ensures backwards compatibilities +team: platform # The team that owns that project + +plugins: + approve-dependabot-prs: + enabled: false + assign-milestone: + enabled: true + close-milestone-from-github-release: + enabled: true + create-github-release-from-git-tag: + enabled: true + create-next-milestone: + enabled: true + merge-dependabot-prs: + enabled: false + remove-milestone-from-unmerged-pr: + enabled: true diff --git a/.github/workflows/release-action.yaml b/.github/workflows/publish-action.yaml similarity index 80% rename from .github/workflows/release-action.yaml rename to .github/workflows/publish-action.yaml index 2a32b70..25a5061 100644 --- a/.github/workflows/release-action.yaml +++ b/.github/workflows/publish-action.yaml @@ -1,10 +1,9 @@ -name: release-action +name: publish-action on: - push: - tags: - - '[0-9]+.[0-9]+.[0-9]+' + release: + types: [published] jobs: - create-release: + publish-release: runs-on: ubuntu-20.04 permissions: contents: write @@ -13,10 +12,6 @@ jobs: uses: actions/checkout@v3 with: ref: ${{github.ref_name}} - - name: Create release - uses: ncipollo/release-action@v1 - with: - tag: ${{github.ref_name}} - name: Set up docker buildx uses: docker/setup-buildx-action@v1 with: