Skip to content

Commit

Permalink
Proper message display when no Yaml files chnaged and styled in the PR
Browse files Browse the repository at this point in the history
Signed-off-by: hansinikarunarathne <[email protected]>
  • Loading branch information
hansinikarunarathne committed Jul 19, 2024
1 parent 450514c commit 997a59b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/yaml_formatter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
run: git fetch origin master

- name: Set up changed files
id: changed_files
run: |
git diff --name-only origin/master...HEAD | grep -E '^common/.*\.ya?ml$|^example/.*\.ya?ml$' > changed_files_in_PR.txt || true
if [ ! -s changed_files_in_PR.txt ]; then
Expand Down

0 comments on commit 997a59b

Please sign in to comment.