From 141634ca8855f6dffb41d429d5587ac57e9496fd Mon Sep 17 00:00:00 2001 From: NoPlagiarism <37241775+NoPlagiarism@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:07:46 +0500 Subject: [PATCH] ci: pull_request_target & remove useless secret --- .github/workflows/pr_assignee.yml | 2 -- .github/workflows/pr_milestone.yml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pr_assignee.yml b/.github/workflows/pr_assignee.yml index 44b808885d2..5be603df632 100644 --- a/.github/workflows/pr_assignee.yml +++ b/.github/workflows/pr_assignee.yml @@ -15,5 +15,3 @@ jobs: steps: - name: Assign PR to creator uses: toshimaru/auto-author-assign@v2.1.1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr_milestone.yml b/.github/workflows/pr_milestone.yml index b17912be0b1..e2365f55493 100644 --- a/.github/workflows/pr_milestone.yml +++ b/.github/workflows/pr_milestone.yml @@ -3,7 +3,7 @@ name: Set Milestone # Assigns the earliest created milestone that matches the below glob pattern. on: - pull_request: + pull_request_target: types: [opened] permissions: