From c1891e430d67a36942fe5d4d63970ed2d699b6e8 Mon Sep 17 00:00:00 2001 From: bbhtt Date: Fri, 1 Nov 2024 22:14:59 +0530 Subject: [PATCH] ci: Fix close-master-prs action --- .github/workflows/close-master-prs.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/close-master-prs.yaml b/.github/workflows/close-master-prs.yaml index ec9e358..9af3518 100644 --- a/.github/workflows/close-master-prs.yaml +++ b/.github/workflows/close-master-prs.yaml @@ -5,14 +5,15 @@ on: types: [opened, reopened, synchronize] branches: - master + workflow_dispatch: jobs: close: runs-on: ubuntu-latest steps: - - name: Check if PR author is an org member and PR does not have no-close label + - name: Check and close env: - GITHUB_TOKEN: ${{ secrets.FLATHUBBOT_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} ORG_NAME: ${{ github.repository_owner }} PR_AUTHOR: ${{ github.event.pull_request.user.login }} run: |