Skip to content

Commit

Permalink
chore: update github action to always pass required checks (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
zlalvani authored Apr 29, 2024
1 parent 1635bda commit 3e06547
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/skip-verify-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# We need this action since github action path filtering does not mark excluded actions as skipped.
# Since both of these jobs are required, we need something that marks them as successful.

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.'

0 comments on commit 3e06547

Please sign in to comment.