From 8848aacf1752c5417daf1d7f36c2daa61a87f036 Mon Sep 17 00:00:00 2001 From: Zaran Lalvani Date: Mon, 29 Apr 2024 18:24:41 -0400 Subject: [PATCH] chore: update github action to always pass required checks --- .github/workflows/skip-verify-version.yml | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/skip-verify-version.yml diff --git a/.github/workflows/skip-verify-version.yml b/.github/workflows/skip-verify-version.yml new file mode 100644 index 0000000..c6fac4f --- /dev/null +++ b/.github/workflows/skip-verify-version.yml @@ -0,0 +1,24 @@ +name: Skip verify version checks +on: + pull_request: + branches: [main] + types: [labeled, unlabeled, opened, synchronize] + paths-ignore: + - "apps/**" + - "packages/**" + +jobs: + verify-version: + runs-on: ubuntu-latest + steps: + - name: Pass + run: | + echo 'Skipping because no changes to releasables were made.' + + block-prerelease: + if: contains(github.event.pull_request.labels.*.name, 'prerelease') + runs-on: ubuntu-latest + steps: + - name: Pass + run: | + echo 'Skipping because no changes to releasables were made.'