Skip to content

Commit 3634a83

Browse files
[ci] Disable some workflow use github app instead to have stable performance. (#18132)
Why I did it github workflow is not easy to extend to other repos. Use github app instead to share the same workflow. Work item tracking Microsoft ADO (number only): 26855292 How I did it How to verify it
1 parent 97b3964 commit 3634a83

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/automerge_scan.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66

77
jobs:
88
automerge_scan:
9-
if: github.repository_owner == 'sonic-net'
9+
# Disable workflow, and use pipeline instead to have same logic with other automation
10+
if: github.repository_owner == 'sonic-net' && false
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: Debug

.github/workflows/pr_cherrypick_poststep.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88

99
jobs:
1010
post_cherry_pick:
11-
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'automerge') && github.event.pull_request.head.user.login == 'mssonicbld' && startsWith(github.event.pull_request.title, '[action]')
11+
# Use azpw instead to have stable performance
12+
if: false && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'automerge') && github.event.pull_request.head.user.login == 'mssonicbld' && startsWith(github.event.pull_request.title, '[action]')
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Debug

.github/workflows/pr_cherrypick_prestep.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99

1010
jobs:
1111
pre_cherry_pick:
12-
if: github.repository_owner == 'sonic-net' && github.event.pull_request.merged == true && ( (github.event.action == 'closed' && contains(join(github.event.pull_request.labels.*.name, ','), 'Approved for 20')) || (github.event.action == 'labeled' && startsWith(github.event.label.name, 'Approved for 20')) )
12+
# Use azpw instead of workflow to have stable performance.
13+
if: false && github.repository_owner == 'sonic-net' && github.event.pull_request.merged == true && ( (github.event.action == 'closed' && contains(join(github.event.pull_request.labels.*.name, ','), 'Approved for 20')) || (github.event.action == 'labeled' && startsWith(github.event.label.name, 'Approved for 20')) )
1314
runs-on: ubuntu-latest
1415
steps:
1516
- name: Checkout

0 commit comments

Comments
 (0)