diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dab7bfbc22..6a5aa50aa7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: automerge: runs-on: ubuntu-latest needs: build - if: ${{ github.actor == 'AzureSDKAutomation' && startsWith(github.head_ref, 'sdkAutomation') }} + if: ${{ github.actor == 'AzureSDKAutomation' && startsWith(github.head_ref, 'sdkAuto/') }} steps: - uses: actions/checkout@v2 @@ -60,4 +60,4 @@ jobs: uses: "pascalgn/automerge-action@v0.12.0" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - MERGE_LABELS: "" \ No newline at end of file + MERGE_LABELS: ""