Skip to content

Commit 2685277

Browse files
committed
Don't run tests after a PR is merged
Currently, once Github tests pass and the PR merges in our Google repo, our workflow merges the PR in Github. Then, after the merge, tests are again triggered in Github on the main branch. We already have regular scheduled tests on main, so this isn't needed.
1 parent 71fc2bb commit 2685277

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

.github/workflows/CPUTests.yml

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

33
on:
44
pull_request:
5-
push:
6-
branches: [ "main" ]
75

86
concurrency:
97
# Dedup pull requests (canceling previous runs of the same workflow for same PR), but nothing else

.github/workflows/RunTests.yml

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

2020
on:
2121
pull_request:
22-
push:
23-
branches: [ "main" ]
2422
workflow_dispatch:
2523
schedule:
2624
# Run the job every 4 hours

0 commit comments

Comments
 (0)