diff --git a/.github/workflows/pr-assigner.yaml b/.github/workflows/pr-assigner.yaml index 78f9623cc3..f821628755 100644 --- a/.github/workflows/pr-assigner.yaml +++ b/.github/workflows/pr-assigner.yaml @@ -2,7 +2,7 @@ name: Assign PR on: - pull_request_target: + pull_request: types: [opened, ready_for_review, unassigned] permissions: @@ -14,10 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Assign reviewers using shared action - uses: konflux-ci/release-service-automations/pr-assigner@5da461efb1b29e523d01989ee09758e85099bda8 # main + uses: seanconroy2021/release-service-automations/pr-assigner@auto-pr with: event-type: ${{ github.event.action }} pr-number: ${{ github.event.pull_request.number }} removed-assignee: ${{ github.event.action == 'unassigned' && github.event.assignee.login || '' }} github-token: ${{ secrets.PR_ASSIGNER_PAT_TOKEN }} slack-webhook: ${{ secrets.PR_ASSIGNER_SLACK_WEBHOOK }} + pto-calendar-url: ${{ secrets.PTO_CALENDAR_URL }}