From c344287183788e9df1887c8e8df48966f6b2c1d1 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Sun, 17 Sep 2023 18:20:04 -0400 Subject: [PATCH] Simplify drafter workflow --- .github/workflows/release-drafter.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index fff7235cbce..38ed415a377 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,10 +4,11 @@ on: push: branches: - main - pull_request: # Autolabel PRs - types: [opened, reopened, unlabeled, synchronize] - pull_request_target: # Autolabel PRs from forks - types: [opened, reopened, unlabeled, synchronize] + pull_request_target: + types: [opened, reopened, synchronize] + +permissions: + contents: read jobs: update_release_draft: @@ -17,7 +18,5 @@ jobs: runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@v5 - with: - commitish: main # default repo branch env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}