From 3a2652d160dc47d7df20cae73e9e21b3f13ee75f Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Fri, 4 Oct 2024 12:41:54 -0300 Subject: [PATCH 1/2] Updating with auto-semver workflow --- .github/workflows/semver.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/semver.yml diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml new file mode 100644 index 0000000..a29a7e4 --- /dev/null +++ b/.github/workflows/semver.yml @@ -0,0 +1,17 @@ +name: Auto Semver +on: + pull_request_target: + types: closed + branches: + - main +jobs: + update: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + steps: + - name: Run Auto Semver + uses: discoverygarden/auto-semver@v1 + - name: Update Major Tag + uses: discoverygarden/action-major-tag@v1 + with: + prefix: 'v' From 9d94e5292b5c893953be126f102108ea3371566d Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Fri, 4 Oct 2024 12:44:12 -0300 Subject: [PATCH 2/2] Adding enforce-label workflow --- .github/workflows/enforce-labels.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/enforce-labels.yml diff --git a/.github/workflows/enforce-labels.yml b/.github/workflows/enforce-labels.yml new file mode 100644 index 0000000..7ef5409 --- /dev/null +++ b/.github/workflows/enforce-labels.yml @@ -0,0 +1,17 @@ +--- +name: Enforce Labeling +on: + pull_request_target: + types: [opened, synchronize, reopened, labeled, unlabeled] + branches: + - main + workflow_dispatch: + +jobs: + check_labels: + runs-on: ubuntu-latest + steps: + - name: Check Pull Request Labels + uses: discoverygarden/enforce-label@v1 + with: + required_labels: major,minor,patch,no-update