Skip to content

Commit da01fd7

Browse files
authored
Do not run scaladoc tests on queue branches (#16923)
Instead, run it on the `merge_group` trigger. This is a very minor change that allows us for easier filtering of actions.
1 parent 274babf commit da01fd7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/scaladoc.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ on:
44
push:
55
branches-ignore:
66
- 'language-reference-stable'
7+
- 'gh-readonly-queue/**'
78
pull_request:
89
branches-ignore:
910
- 'language-reference-stable'
11+
merge_group:
1012
permissions:
1113
contents: read
1214

@@ -15,7 +17,8 @@ jobs:
1517
env:
1618
AZURE_STORAGE_SAS_TOKEN: ${{ secrets.AZURE_STORAGE_SAS_TOKEN }}
1719
runs-on: ubuntu-latest
18-
if: "( github.event_name == 'pull_request'
20+
if: "github.event_name == 'merge_group'
21+
|| ( github.event_name == 'pull_request'
1922
&& !contains(github.event.pull_request.body, '[skip ci]')
2023
&& !contains(github.event.pull_request.body, '[skip docs]')
2124
)

0 commit comments

Comments
 (0)