Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-zimerman committed Jan 23, 2024
1 parent 1278695 commit eac93d8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/skip-ci.yml
Expand Up @@ -6,11 +6,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check diff from
uses: actions/checkout@v2
with:
fetch-depth: 0
run: |
skipList=(".github/codeowners")
# Ignores changelog.md, readme.md,...
fileChangesArray=($(git diff --name-only origin/${{ github.base_ref }}..origin/${{ github.head_ref }} | grep -v '\.md$'))
echo git diff --name-only HEAD~ HEAD
fileChangesArray=($(git diff --name-only origin/${{ github.base_ref }}..${{ github.head_ref }} | grep -v '\.md$'))
echo ${fileChangesArray}
for item in "${fileChangesArray[@]}"
do
if [[ ! " ${my_array[@]} " =~ " ${item} " ]]; then
Expand Down

0 comments on commit eac93d8

Please sign in to comment.