File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CI Java
1+ name : ' CI Java'
22on :
33 workflow_dispatch :
44 schedule :
Original file line number Diff line number Diff line change 1010 - trunk
1111
1212jobs :
13- check_java :
14- uses : ./.github/workflows/should-workflow-run.yml
15- with :
16- bazel-target-prefix : ' //java'
17-
18- run_java :
19- uses : ./.github/workflows/java.yml
20- needs : check_java
21- if : ${{ needs.check_java.outputs.result == 'true' }}
22-
2313 check_python :
2414 uses : ./.github/workflows/should-workflow-run.yml
2515 with :
Original file line number Diff line number Diff line change 1+ # Configuration for Java CI
2+ name : ' CI - Java'
3+
4+ on :
5+ workflow_dispatch :
6+ schedule :
7+ - cron : ' 0 0 * * *'
8+
9+ permissions :
10+ issues : write
11+ pull-requests : write
12+
13+ jobs :
14+ action :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : dessant/lock-threads@v2
18+ with :
19+ process-only : ' issues'
20+ issue-lock-inactive-days : ' 30'
21+ issue-lock-reason : ' '
22+ issue-lock-comment : >
23+ This issue has been automatically locked since there
24+ has not been any recent activity after it was closed.
25+ Please open a new issue for related bugs.
Original file line number Diff line number Diff line change @@ -25,12 +25,13 @@ echo "::set-output name=bazel-targets::${bazel_targets[*]}"
2525echo " ::set-output name=run-workflow::false"
2626
2727if (( ${# bazel_targets[@]} == 0 )) ; then
28- echo " No bazel targets found after checking the diff."
29- exit 0
28+ echo " No bazel targets found after checking the diff."
29+ exit 0
3030fi
3131
3232if [[ " ${bazel_targets[*]} " == * " $BAZEL_TARGET_PREFIX " * ]]; then
33- echo " ::set-output name=run-workflow::true"
33+ echo " ::set-output name=run-workflow::true"
34+ echo " Bazel targets found: ${bazel_targets[*]} ."
3435fi
3536
3637
You can’t perform that action at this time.
0 commit comments