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
* Detect commit hashes from merge_group event
* Apply suggestion from @masaru-iritani
Co-authored-by: Masaru Iritani <[email protected]>
* refactor: update PullRequest type usage in getChangedFilesFromApi and related functions
* Run `npm run pack`
---------
Co-authored-by: Sascha Bratton <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,11 @@ don't allow this because they don't work on a level of individual jobs or steps.
27
27
- The `base` input parameter must not be the same as the branch that triggered the workflow
28
28
- Changes are detected against the merge-base with the configured base branch or the default branch
29
29
- Uses git commands to detect changes - repository must be already [checked out](https://github.com/actions/checkout)
- Workflow triggered by **[merge_group](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#merge_group)**
32
+
- The `base` and `ref` input parameters default to commit hashes from the event
33
+
unless explicitly specified.
34
+
- Uses git commands to detect changes - repository must be already [checked out](https://github.com/actions/checkout)
30
35
-**Master, Release, or other long-lived branches:**
31
36
- Workflow triggered by **[push](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#push)** event
32
37
when `base` input parameter is the same as the branch that triggered the workflow:
@@ -104,6 +109,8 @@ For more information, see [CHANGELOG](https://github.com/dorny/paths-filter/blob
104
109
# Branch, tag, or commit SHA against which the changes will be detected.
105
110
# If it references the same branch it was pushed to,
106
111
# changes are detected against the most recent commit before the push.
112
+
# If it is empty and action is triggered by merge_group event,
113
+
# the base commit in the event will be used.
107
114
# Otherwise, it uses git merge-base to find the best common ancestor between
108
115
# current branch (HEAD) and base.
109
116
# When merge-base is found, it's used for change detection - only changes
@@ -117,6 +124,8 @@ For more information, see [CHANGELOG](https://github.com/dorny/paths-filter/blob
117
124
# Git reference (e.g. branch name) from which the changes will be detected.
118
125
# Useful when workflow can be triggered only on the default branch (e.g. repository_dispatch event)
119
126
# but you want to get changes on a different branch.
127
+
# If this is empty and action is triggered by merge_group event,
128
+
# the head commit in the event will be used.
120
129
# This option is ignored if action is triggered by pull_request event.
121
130
# default: ${{ github.ref }}
122
131
ref:
@@ -154,14 +163,14 @@ For more information, see [CHANGELOG](https://github.com/dorny/paths-filter/blob
154
163
# Default: ${{ github.token }}
155
164
token: ''
156
165
157
-
# Optional parameter to override the default behavior of file matching algorithm.
166
+
# Optional parameter to override the default behavior of file matching algorithm.
158
167
# By default files that match at least one pattern defined by the filters will be included.
159
168
# This parameter allows to override the "at least one pattern" behavior to make it so that
160
-
# all of the patterns have to match or otherwise the file is excluded.
161
-
# An example scenario where this is useful if you would like to match all
162
-
# .ts files in a sub-directory but not .md files.
163
-
# The filters below will match markdown files despite the exclusion syntax UNLESS
164
-
# you specify 'every' as the predicate-quantifier parameter. When you do that,
169
+
# all of the patterns have to match or otherwise the file is excluded.
170
+
# An example scenario where this is useful if you would like to match all
171
+
# .ts files in a sub-directory but not .md files.
172
+
# The filters below will match markdown files despite the exclusion syntax UNLESS
173
+
# you specify 'every' as the predicate-quantifier parameter. When you do that,
165
174
# it will only match the .ts files in the subdirectory as expected.
166
175
#
167
176
# backend:
@@ -317,6 +326,12 @@ on:
317
326
branches: # PRs to the following branches will trigger the workflow
318
327
- master
319
328
- develop
329
+
# Optionally you can use the action in the merge queue
0 commit comments