Skip to content

Commit

Permalink
no f
Browse files Browse the repository at this point in the history
  • Loading branch information
huonw committed May 18, 2023
1 parent 9ce830d commit 3f04618
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-support/bin/generate_github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def classify_changes() -> Jobs:
"id": "classify",
"name": "Classify changed files",
"run": dedent(
f"""\
"""\
if [[ -z $GITHUB_EVENT_PULL_REQUEST_BASE_REF ]]; then
# push: compare to the immediate parent, which should already be fetched
# (checkout's fetch_depth defaults to 10)
Expand All @@ -128,11 +128,11 @@ def classify_changes() -> Jobs:
affected=$(git diff --name-only "$comparison_sha" HEAD | python build-support/bin/classify_changed_files.py)
echo "Affected:"
if [[ "${{affected}}" == "docs" ]]; then
if [[ "${affected}" == "docs" ]]; then
echo "docs_only=true" | tee -a $GITHUB_OUTPUT
fi
for i in ${{affected}}; do
echo "${{i}}=true" | tee -a $GITHUB_OUTPUT
for i in ${affected}; do
echo "${i}=true" | tee -a $GITHUB_OUTPUT
done
"""
),
Expand Down

0 comments on commit 3f04618

Please sign in to comment.