Skip to content

Commit 7391f52

Browse files
fynnsudsikka
andauthored
Standardize github workflow branches (#1799)
SUMMARY: This pr makes the branches tests are triggered on consistent. TEST PLAN: "please outline how the changes were tested" Signed-off-by: Fynn Schmitt-Ulms <[email protected]> Co-authored-by: Dipika Sikka <[email protected]>
1 parent b47c186 commit 7391f52

File tree

5 files changed

+9
-15
lines changed

5 files changed

+9
-15
lines changed

.github/workflows/linkcheck.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ name: Check Markdown links
22

33
on:
44
push:
5-
branches:
6-
- main
5+
branches: [ main, 'release/*' ]
76
pull_request:
8-
branches:
9-
- main
7+
branches: [ main, 'release/*' ]
108

119
# Allows you to run this workflow manually from the Actions tab
1210
workflow_dispatch:

.github/workflows/quality-check.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
name: Quality Checks
22
on:
33
push:
4-
branches:
5-
- main
6-
- 'release/*'
4+
branches: [ main , 'release/*' ]
75
pull_request:
8-
branches:
9-
- main
10-
- 'release/*'
6+
branches: [ main, 'release/*' ]
117
jobs:
128
quality-check:
139
runs-on: ubuntu-22.04

.github/workflows/set-comment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PR Reminder Comment Bot
22
on:
33
pull_request_target:
4-
branches: [main]
4+
branches: [ main, 'release/*' ]
55
types: [opened]
66

77
jobs:

.github/workflows/test-check-transformers.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Test Checks (Transformers)
22
on:
33
pull_request:
4-
branches: [ main ]
4+
branches: [ main, 'release/*' ]
55
types: [ labeled, synchronize ]
66
push:
7-
branches: [ main ]
7+
branches: [ main, 'release/*' ]
88
workflow_dispatch:
99
inputs:
1010
code_coverage:

.github/workflows/test-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Test Checks (Base/PyTorch)
22
on:
33
pull_request:
4-
branches:
5-
- main
4+
branches: [ main, 'release/*' ]
65
push:
6+
branches: [ main, 'release/*' ]
77
workflow_dispatch:
88
inputs:
99
code_coverage:

0 commit comments

Comments
 (0)