From a5777d4435ad8d522e6ed2386036cb8bd26c6a36 Mon Sep 17 00:00:00 2001 From: Roberto Cortez Date: Fri, 29 Sep 2023 16:06:25 +0100 Subject: [PATCH] Update GH actions --- .github/workflows/release.yml | 1 + .github/workflows/{pulls.yml => update-milestone.yml} | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) rename .github/workflows/{pulls.yml => update-milestone.yml} (60%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f80301ef..ca1221b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,3 +52,4 @@ jobs: with: github-token: ${{secrets.GITHUB_TOKEN}} milestone-title: ${{steps.metadata.outputs.current-version}} + milestone-next: ${{steps.metadata.outputs.next-version}} diff --git a/.github/workflows/pulls.yml b/.github/workflows/update-milestone.yml similarity index 60% rename from .github/workflows/pulls.yml rename to .github/workflows/update-milestone.yml index eb3a1963..5a1f3354 100644 --- a/.github/workflows/pulls.yml +++ b/.github/workflows/update-milestone.yml @@ -1,13 +1,14 @@ -name: Pulls +name: Update Milestone on: - pull_request: + pull_request_target: types: [closed] jobs: - release: + update: runs-on: ubuntu-latest - name: pulls + name: update-milestone + if: ${{github.event.pull_request.merged == true}} steps: - uses: radcortez/milestone-set-action@main