Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcfe6d2b

Browse files
committed
Close PR with gh CLI instead of action
1 parent2459a28 commitcfe6d2b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎.github/workflows/autoclose.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ on:
44
pull_request_target:
55
types:[opened]
66
branches:
7-
-'**'
7+
-'**/*'
88

99
jobs:
1010
run:
1111
runs-on:ubuntu-latest
1212
steps:
13-
# Pin to commit hash to avoid surprises via the action
14-
-uses:superbrothers/close-pull-request@9c18513d320d7b2c7185fb93396d0c664d5d8448
15-
with:
16-
comment:|
13+
-name:Close Pull
14+
run:gh pr close --comment "$COMMENT"
15+
env:
16+
GH_TOKEN:${{ secrets.GITHUB_TOKEN }}
17+
COMMENT:>
1718
We do not accept PRs on this repository. Please file an issue at
1819
https://github.com/python/cpython requesting an update to the
1920
source packages in this repository.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp