Skip to content

Commit f94cf12

Browse files
OrKoNDevtools-frontend LUCI CQ
authored andcommitted
Auto-close PRs on the GitHub mirror
Bug: none Change-Id: I876783bd040c5cc845427a4530e9feb3773c8bf7 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6695694 Reviewed-by: Benedikt Meurer <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]> Auto-Submit: Alex Rudenko <[email protected]> Commit-Queue: Alex Rudenko <[email protected]>
1 parent 82d83ff commit f94cf12

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Auto-close PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened]
6+
7+
jobs:
8+
auto-close:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Close Pull
12+
# See https://cli.github.com/manual/gh_pr_close
13+
run: gh pr close --comment "Auto-closing the pull request because we do not accept PRs via the GitHub mirror. See README.md on how to contribute to DevTools." --delete-branch "1"
14+
env:
15+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)