From 585532b0f4af45b5cc95f8a54f5b55890f9f0eb3 Mon Sep 17 00:00:00 2001 From: j-tirelli Date: Fri, 29 Dec 2023 00:21:42 -0500 Subject: [PATCH] undoes testing changes --- .github/workflows/versionbump.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/versionbump.yml b/.github/workflows/versionbump.yml index 291df24..a5c63a8 100644 --- a/.github/workflows/versionbump.yml +++ b/.github/workflows/versionbump.yml @@ -2,19 +2,17 @@ name: "Version Bump" on: pull_request: types: - - unlabeled # temp for testing - - labeled # temp for testing - closed jobs: merge_pr: name: "Version Bump" - # if: github.event.pull_request.merged == true + if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: token: ${{ secrets.GH_ORG_PAT }} - # ref: main + ref: main - uses: actions/setup-node@v2 with: node-version: "16.x" @@ -32,8 +30,7 @@ jobs: run: npm version major && git push - name: Apply version bump (minor) if: contains(github.event.pull_request.labels.*.name, 'version minor') - # run: npm version minor && git push - run: npm version patch && git push + run: npm version minor && git push - name: Apply version bump (patch) if: contains(github.event.pull_request.labels.*.name, 'version patch') run: npm version patch && git push