From 2788588f078c0f7a2e6aab876751d55775af8053 Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Wed, 8 Jun 2022 08:55:05 -0300 Subject: [PATCH] Adding auto-semver workflow --- .github/workflows/auto-semver.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/auto-semver.yml diff --git a/.github/workflows/auto-semver.yml b/.github/workflows/auto-semver.yml new file mode 100644 index 0000000..bbc2b39 --- /dev/null +++ b/.github/workflows/auto-semver.yml @@ -0,0 +1,25 @@ +name: Auto Semver +on: + pull_request_target: + types: closed + branches: + - 1.x +jobs: + update: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v2 + - name: Checkout Auto Semver Action Repo + uses: actions/checkout@v2 + with: + repository: discoverygarden/auto-semver + ref: v1 + token: ${{ secrets.GITHUB_TOKEN }} + path: .github/actions/auto-semver + - name: Run Auto Semver + uses: ./.github/actions/auto-semver + with: + token: ${{ secrets.GITHUB_TOKEN }} + prefix: v