-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update github action to always pass required checks (#51)
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.' |