diff --git a/.github/workflows/pr_auto_merge.yml b/.github/workflows/pr_auto_merge.yml index c378d9cb..b092e591 100644 --- a/.github/workflows/pr_auto_merge.yml +++ b/.github/workflows/pr_auto_merge.yml @@ -10,10 +10,9 @@ jobs: pull-requests: write steps: - uses: actions/checkout@v4 - - name: Run step if actor is user_a, user_b, or user_c - if: github.actor == 'NadeemYaseen' || github.actor == 'user_b' || github.actor == 'user_c' - run: echo "Hello, the workflow was triggered by ${{ github.actor }}! + - name: Try auto approve + if: github.actor == 'NadeemYaseen' || github.actor == 'zhergarvi' || github.actor == 'abdulhameed-akram' run: | urls=$(gh pr list --json url | jq -r '.[].url') for url in $urls; do