Skip to content
Closed
Changes from all 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
7 changes: 7 additions & 0 deletions .github/workflows/bot-lint-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,20 @@ jobs:
run: mkdir -p "$ARTIFACTS_DIR"

- name: Download artifact
continue-on-error: true
uses: actions/download-artifact@v8
with:
name: lint-log
path: ${{ runner.temp }}/artifacts
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}

- name: Ensure log files exist
# Check that the log files exist and create empty ones in case the Linter job
# failed to produce/upload them (see
# https://github.com/scikit-learn/scikit-learn/issues/34719).
run: touch "$ARTIFACTS_DIR/linting_output.txt" "$ARTIFACTS_DIR/versions.txt"

# Adapted from https://github.com/docker-mailserver/docker-mailserver/pull/4267#issuecomment-2484565209
# Unfortunately there is no easier way to do it
- name: Get PR number from triggering workflow information
Expand Down
Loading