mirror of
https://github.com/stan220/flathub.git
synced 2026-09-08 17:28:57 +00:00
ci: Fix close-master-prs action
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user