mirror of
https://github.com/yuzu-emu/breakpad
synced 2024-11-25 20:37:50 +00:00
github: convert pull closing to GH actions
The probot app we were using has been shutdown, so switch over to the new GH actions flow. Change-Id: Ifa8c2835e1ac1a4df53a5c4f0aa851fbacbd4096 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3217681 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
0c04944727
commit
73296aa5e3
2 changed files with 22 additions and 17 deletions
17
.github/mistaken-pull-closer.yml
vendored
17
.github/mistaken-pull-closer.yml
vendored
|
@ -1,17 +0,0 @@
|
||||||
# The JSONPath filter expression used to identify which PRs to close.
|
|
||||||
# The data filtered is the pull request data along with other metadata passed in
|
|
||||||
# by probot.
|
|
||||||
# See http://goessner.net/articles/JsonPath/
|
|
||||||
# `true` will close all PRs.
|
|
||||||
filters:
|
|
||||||
- true
|
|
||||||
|
|
||||||
# The message to post to the closed PR.
|
|
||||||
commentBody: |
|
|
||||||
Thanks for your contribution! Unfortunately, we don't use GitHub pull
|
|
||||||
requests to manage code contributions to this repository. Instead, please
|
|
||||||
see [README.md](../blob/master/README.md) which provides full instructions
|
|
||||||
on how to get involved.
|
|
||||||
|
|
||||||
# Whether to add a label to the closed PR.
|
|
||||||
addLabel: false
|
|
22
.github/workflows/close-pull-request.yml
vendored
Normal file
22
.github/workflows/close-pull-request.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# GitHub actions workflow.
|
||||||
|
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
|
||||||
|
|
||||||
|
# https://github.com/superbrothers/close-pull-request
|
||||||
|
name: Close Pull Request
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: superbrothers/close-pull-request@v3
|
||||||
|
with:
|
||||||
|
comment: >
|
||||||
|
Thanks for your contribution!
|
||||||
|
Unfortunately, we don't use GitHub pull requests to manage code
|
||||||
|
contributions to this repository.
|
||||||
|
Instead, please see [README.md](../blob/HEAD/README.md) which
|
||||||
|
provides full instructions on how to get involved.
|
Loading…
Reference in a new issue