ci: Fix close-master-prs action

This commit is contained in:
bbhtt
2024-11-01 22:14:59 +05:30
parent d31d9a132f
commit c1891e430d
+3 -2
View File
@@ -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: |