mirror of
https://github.com/astral-sh/ruff
synced 2026-01-10 16:15:19 -05:00
Use correct comment character for bash script in CI (#11896)
This should fix https://github.com/astral-sh/ruff/actions/runs/9542715937/job/26298008128
This commit is contained in:
4
.github/workflows/pr-comment.yaml
vendored
4
.github/workflows/pr-comment.yaml
vendored
@@ -48,8 +48,8 @@ jobs:
|
||||
id: generate-comment
|
||||
if: steps.download-ecosystem-result.outputs.found_artifact == 'true'
|
||||
run: |
|
||||
// Guard against malicious ecosystem results that symlink to a secret
|
||||
// file on this runner
|
||||
# Guard against malicious ecosystem results that symlink to a secret
|
||||
# file on this runner
|
||||
if [[ -L pr/ecosystem/ecosystem-result ]]
|
||||
then
|
||||
echo "Error: ecosystem-result cannot be a symlink"
|
||||
|
||||
Reference in New Issue
Block a user