diff --git a/.github/workflows/automerge_scan.yml b/.github/workflows/automerge_scan.yml index 760c137cf..68903a209 100644 --- a/.github/workflows/automerge_scan.yml +++ b/.github/workflows/automerge_scan.yml @@ -6,7 +6,8 @@ on: jobs: automerge_scan: - if: github.repository_owner == 'sonic-net' + # Disable workflow, and use pipeline instead to have same logic with other automation + if: github.repository_owner == 'sonic-net' && false runs-on: ubuntu-latest steps: - name: Debug diff --git a/.github/workflows/pr_cherrypick_poststep.yml b/.github/workflows/pr_cherrypick_poststep.yml index a343bed03..6d9c567e0 100644 --- a/.github/workflows/pr_cherrypick_poststep.yml +++ b/.github/workflows/pr_cherrypick_poststep.yml @@ -8,7 +8,8 @@ on: jobs: post_cherry_pick: - 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]') + # Use azpw instead to have stable performance + 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]') runs-on: ubuntu-latest steps: - name: Debug diff --git a/.github/workflows/pr_cherrypick_prestep.yml b/.github/workflows/pr_cherrypick_prestep.yml index a1f8015b7..d885c96d3 100644 --- a/.github/workflows/pr_cherrypick_prestep.yml +++ b/.github/workflows/pr_cherrypick_prestep.yml @@ -9,7 +9,8 @@ on: jobs: pre_cherry_pick: - 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')) ) + # Use azpw instead of workflow to have stable performance. + 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')) ) runs-on: ubuntu-latest steps: - name: Checkout