Skip to content

Commit 18c83e8

Browse files
committed
build: do not run workflow for PRs by bots
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent d847b9d commit 18c83e8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/too_many_good_first_prs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ jobs:
3434
# Define job name:
3535
name: 'Check if contributor has opened too many "Good First PRs"'
3636

37-
# Only run this job if the pull request did not have label `automated-pr`:
38-
if: contains(github.event.pull_request.labels.*.name, 'automated-pr') == false
37+
# Only run this job if the pull request did not have label `automated-pr` and is not from bots:
38+
if: >
39+
contains(github.event.pull_request.labels.*.name, 'automated-pr') == false &&
40+
github.event.pull_request.user.login != 'stdlib-bot' &&
41+
github.event.pull_request.user.login != 'dependabot[bot]'
3942
4043
# Define job permissions:
4144
permissions:

0 commit comments

Comments
 (0)