diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a3366a2e20..2d9d2d0a99c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push: branches: - main - pull_request: + pull_request_target: branches: - main @@ -136,7 +136,7 @@ jobs: echo "JUnit reports, Allure report, and test comparison reports are available as artifacts." - name: Auto-Approve the Pull Request - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request_target' uses: hmarr/auto-approve-action@v3 with: github-token: ${{ secrets.GITHUB_TOKEN }}