We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7194f13 commit 7c5a254Copy full SHA for 7c5a254
.github/workflows/skip-ci.yml
@@ -21,6 +21,11 @@ jobs:
21
- name: Check diff from Pull Request
22
id: check_diff
23
run: |
24
+ if [ -z "${{ github.base_ref }}" ] || [ -z "${{ github.head_ref }}" ]; then
25
+ echo "This action is intended to be run on pull requests only."
26
+ exit 0
27
+ fi
28
+
29
skipList=(".github/CODEOWNERS" ".prettierignore")
30
# Ignores changelog.md, readme.md,...
31
fileChangesArray=($(git diff --name-only origin/${{ github.base_ref }}..origin/${{ github.head_ref }} | grep -v '\.md$'))
0 commit comments