You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Action to get paths and files changed in a Pull Request event and use these for [GitHub Actions matrix](https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs)
6
+
7
+
## Inputs
8
+
9
+
| parameter | description | required | default |
10
+
| - | - | - | - |
11
+
| path | Path |`false`| ./ |
12
+
| token | The token to use to access the GitHub API |`false`| ${{ github.token }} |
13
+
14
+
15
+
## Outputs
16
+
17
+
| parameter | description |
18
+
| - | - |
19
+
| paths_changed | List of changed paths, example: ``` ["dist", "dist/data"] ```
20
+
|
21
+
| file_changed | List of changed files, example: ``` ["dist/main.tf", "dist/index.js"] ```
description: 'Adds pull request file changes as a comment to a newly opened PR'
1
+
name: 'Detect PR changes'
2
+
description: 'Action to get paths and files changed in a Pull Request event and use these for [GitHub Actions matrix](https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs)'
3
3
inputs:
4
4
path:
5
5
description: 'Path'
@@ -9,6 +9,19 @@ inputs:
9
9
description: 'The token to use to access the GitHub API'
0 commit comments