-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(resource): Added check for changie file
- Loading branch information
1 parent
0d50642
commit 6db3389
Showing
2 changed files
with
28 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,25 @@ | ||
name: Has Change File | ||
description: Check if a new change file is set | ||
|
||
inputs: | ||
registry: | ||
required: false | ||
default: "" | ||
description: "Regional or multi-regional location of the repository where the image is stored" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: dorny/paths-filter@v3 | ||
id: changes | ||
with: | ||
filters: | | ||
changes: | ||
- '.changes/unreleased/**' | ||
- name: Check changes | ||
if: steps.changes.outputs.src == 'true' | ||
shell: bash | ||
run: | | ||
echo "No new change file set in .changes/unreleased" | ||
exit 1 |
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