Skip to content

Commit

Permalink
check lockfiles in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
LogFlames committed Sep 11, 2024
1 parent 1c5f267 commit 96b1a51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ runs:
shell: bash


- name: Get all changed pom.xml file(s)
- name: Get all changed pom.xml and lockfile.json file(s)
id: changed-files
uses: tj-actions/changed-files@e9772d140489982e0e3704fea5ee93d536f1e275 # v45
with:
files: |
**/pom.xml
**/lockfile.json
**/${{ inputs.workflow-filename}}
- name: print all changed files
run: echo all changed files are ${{ steps.changed-files.outputs.all_changed_files }}
Expand Down
3 changes: 2 additions & 1 deletion template/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ runs:
shell: bash


- name: Get all changed pom.xml file(s)
- name: Get all changed pom.xml and lockfile.json file(s)
id: changed-files
uses: tj-actions/changed-files@e9772d140489982e0e3704fea5ee93d536f1e275 # v45
with:
files: |
**/pom.xml
**/lockfile.json
**/${{ inputs.workflow-filename}}
- name: print all changed files
run: echo all changed files are ${{ steps.changed-files.outputs.all_changed_files }}
Expand Down

0 comments on commit 96b1a51

Please sign in to comment.