8000 Do not trigger lint and pull workflows when sync nightly #26921 (#101… · pytorch/pytorch@8044f8f · GitHub
[go: up one dir, main page]

Skip to content

Commit 8044f8f

Browse files
huydhnjcaip
authored andcommitted
Do not trigger lint and pull workflows when sync nightly #26921 (#101746)
These workflows run when the nightly PR #26921 is synched and they will fail due to the large commit message saved in env variable `COMMIT_MESSAGES`, for example https://github.com/pytorch/pytorch/actions/runs/4977477882. We don't need to run CI jobs on nightly. The list of failing workflows is from https://hud.pytorch.org/pytorch/pytorch/commit/f3e13d956729d4fa9ce35dca5beed588c914797d Pull Request resolved: #101746 Approved by: https://github.com/atalman, https://github.com/malfet
1 parent 48abf71 commit 8044f8f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/lint-bc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
- reopened
99
- labeled
1010
- unlabeled
11+
branches-ignore:
12+
- nightly
1113
workflow_dispatch:
1214

1315
jobs:

.github/workflows/lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Lint
22

33
on:
44
pull_request:
5+
branches-ignore:
6+
- nightly
57
push:
68
branches:
79
- main

.github/workflows/pull.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: pull
22

33
on:
44
pull_request:
5+
branches-ignore:
6+
- nightly
57
push:
68
branches:
79
- main

0 commit comments

Comments
 (0)
0