ci: Use FLATHUBBOT_TOKEN

For forks of public repos, github removes the ability to comment on a PR
This commit is contained in:
bbhtt
2024-11-01 23:36:44 +05:30
parent 71c0ac4d56
commit b283052b62

View File

@@ -2,7 +2,7 @@ name: Close PRs to master
on:
pull_request:
types: [opened, reopened, synchronize]
types: [opened, reopened, synchronize, edited]
branches:
- master
workflow_dispatch:
@@ -16,7 +16,7 @@ jobs:
steps:
- name: Check and close
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.FLATHUBBOT_TOKEN }}
COMMENT: >
This PR is automatically closed because application submission
PRs must be made against the new-pr branch. If this is done