Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip news check if github.actor is pre-commit-ci[bot] #12614

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/news-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
fetch-depth: 0

- name: Check news entry
if: "!contains(github.event.pull_request.labels.*.name, 'skip news')"
if: |
"!contains(github.event.pull_request.labels.*.name, 'skip news')" || github.actor != 'pre-commit-ci[bot]'
shenxianpeng marked this conversation as resolved.
Show resolved Hide resolved
run: |
if ! pipx run towncrier check --compare-with origin/${{ github.base_ref }}; then
echo "Please see https://pip.pypa.io/dev/news-entry-failure for guidance."
Expand Down
1 change: 1 addition & 0 deletions news/12605.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
skip news check if ``github.actor`` is ``pre-commit-ci[bot]``
Loading