Skip to content

Commit

Permalink
Try narrowing the files changed-files checks
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin committed Aug 30, 2022
1 parent fd1e34a commit bb9224e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/license-header.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ jobs:
- name: Get modified files in the staging directory
id: changed-files
uses: tj-actions/changed-files@v29.0.2
with:
files: |
packages/**/*.css
packages/**/*.js
packages/**/*.ts
packages/**/*.tsx
- name: Did things change?
if: steps.changed-files.outputs.any_changed == 'true'
shell: bash -l {0}
run: |
echo "Yes! Some things changed!"
echo | git status --short --branch
- name: Apply Changes
if: steps.changed-files.outputs.any_changed == 'true'
Expand Down

0 comments on commit bb9224e

Please sign in to comment.