Skip to content

Commit

Permalink
Merge pull request #1101 from Norconex/bug-fix/update-copyright-workflow
Browse files Browse the repository at this point in the history
edit ignore list
  • Loading branch information
brian-yuen authored Jan 15, 2025
2 parents 1dcbd33 + 24f7f68 commit d32074c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/copyright-check-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,19 @@ jobs:
uses: tj-actions/[email protected]
with:
files_ignore: |
# ignore the yml files and worflow yml files in the github folder
.github/workflows/*.yml
# ignore the yml files and worflow files in the github folder
**/workflows/**
.github/*.yml
**/assembly/**
- name: Echo result
if: steps.check_dependabot.outputs.check == '0'
run: |
echo "Modified files:"
echo "${{ steps.modified-files.outputs.all }}"
echo ""
echo "Files in the .github/workflows directory are skipped, please edit it manaully!"
- name: Find all changed files don't contain Copyright Info and add the info to it
if: ${{ steps.check_dependabot.outputs.check == '0' && steps.modified-files.outputs.all_changed_files != '' }}
run: |
Expand Down

0 comments on commit d32074c

Please sign in to comment.