File tree 3 files changed +15
-4
lines changed
3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 54
54
- name : Check changed files
55
55
id : check_changes
56
56
run : |
57
- echo "docs_only=${{ fromJSON(steps.changes.outputs.all_count) == fromJSON(steps.changes.outputs.docs_count) && fromJSON(steps.changes.outputs.docs_count) > 0 }}" >> $GITHUB_OUTPUT
57
+ if [[ "${GITHUB_EVENT_NAME}" != "schedule" ]]; then
58
+ echo "docs_only=${{ fromJSON(steps.changes.outputs.all_count) == fromJSON(steps.changes.outputs.docs_count) && fromJSON(steps.changes.outputs.docs_count) > 0 }}" >> $GITHUB_OUTPUT
59
+ else
60
+ echo docs_only=false >> $GITHUB_OUTPUT
61
+ fi
58
62
59
63
- name : Check if the PR has been approved for testing
60
64
if : ${{ steps.check_changes.outputs.docs_only != 'true' && github.repository == 'apache/pulsar' && github.event_name == 'pull_request' }}
Original file line number Diff line number Diff line change 59
59
- name : Check changed files
60
60
id : check_changes
61
61
run : |
62
- echo "docs_only=${{ fromJSON(steps.changes.outputs.all_count) == fromJSON(steps.changes.outputs.docs_count) && fromJSON(steps.changes.outputs.docs_count) > 0 }}" >> $GITHUB_OUTPUT
62
+ if [[ "${GITHUB_EVENT_NAME}" != "schedule" ]]; then
63
+ echo "docs_only=${{ fromJSON(steps.changes.outputs.all_count) == fromJSON(steps.changes.outputs.docs_count) && fromJSON(steps.changes.outputs.docs_count) > 0 }}" >> $GITHUB_OUTPUT
64
+ else
65
+ echo docs_only=false >> $GITHUB_OUTPUT
66
+ fi
63
67
64
68
- name : Check if the PR has been approved for testing
65
69
if : ${{ steps.check_changes.outputs.docs_only != 'true' && github.repository == 'apache/pulsar' && github.event_name == 'pull_request' }}
Original file line number Diff line number Diff line change 61
61
- name : Check changed files
62
62
id : check_changes
63
63
run : |
64
- echo "docs_only=${{ fromJSON(steps.changes.outputs.all_count) == fromJSON(steps.changes.outputs.docs_count) && fromJSON(steps.changes.outputs.docs_count) > 0 }}" >> $GITHUB_OUTPUT
65
-
64
+ if [[ "${GITHUB_EVENT_NAME}" != "schedule" ]]; then
65
+ echo "docs_only=${{ fromJSON(steps.changes.outputs.all_count) == fromJSON(steps.changes.outputs.docs_count) && fromJSON(steps.changes.outputs.docs_count) > 0 }}" >> $GITHUB_OUTPUT
66
+ else
67
+ echo docs_only=false >> $GITHUB_OUTPUT
68
+ fi
66
69
67
70
- name : Check if the PR has been approved for testing
68
71
if : ${{ steps.check_changes.outputs.docs_only != 'true' && github.repository == 'apache/pulsar' && github.event_name == 'pull_request' }}
You can’t perform that action at this time.
0 commit comments