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 0776702 commit 156a57fCopy full SHA for 156a57f
.github/workflows/test-action.yml
@@ -0,0 +1,28 @@
1
+name: test-action
2
+on:
3
+ pull_request_target:
4
+jobs:
5
+ test-changed-files:
6
+ name: Get Modified Files
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ issues: write
10
+ contents: write
11
+ pull-requests: write
12
+ repository-projects: write
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Get Changed Files
16
+ id: changed-files
17
+ # pin to a specific commit to ensure stability
18
+ uses: tj-actions/changed-files@c65cd883420fd2eb864698a825fc4162dd94482c
19
+ with:
20
+ files: source/**
21
+ - name: Print modified
22
+ id: print-files
23
+ env:
24
+ CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
25
+ run: |
26
+ for file in $CHANGED_FILES; do
27
+ echo "modified ${file}"
28
+ done
0 commit comments