Skip to content

Commit

Permalink
Quote envvar to match documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arunsathiya committed Jan 23, 2024
1 parent f16f426 commit 44009b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fetch-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: status
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "has_changes=1" >> $GITHUB_OUTPUT
echo "has_changes=1" >> "$GITHUB_OUTPUT"
fi
- name: Commit changes
if: steps.status.outputs.has_changes == '1'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fetch-maintained.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: status
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "has_changes=1" >> $GITHUB_OUTPUT
echo "has_changes=1" >> "$GITHUB_OUTPUT"
fi
- name: Commit changes
if: steps.status.outputs.has_changes == '1'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
run: |
dependabot_dir="${{ steps.metadata.outputs.directory }}"
if [[ "$dependabot_dir" == "/" ]]; then
echo "workspace=-iwr" >> $GITHUB_OUTPUT
echo "workspace=-iwr" >> "$GITHUB_OUTPUT"
else
# strip leading slash from directory so it works as a
# a path to the workspace flag
echo "workspace=-w ${dependabot_dir#/}" >> $GITHUB_OUTPUT
echo "workspace=-w ${dependabot_dir#/}" >> "$GITHUB_OUTPUT"
fi
- name: Apply Changes
Expand All @@ -64,7 +64,7 @@ jobs:
run: |
npm run template-oss-apply ${{ steps.flags.outputs.workspace }}
if [[ `git status --porcelain` ]]; then
echo "changes=true" >> $GITHUB_OUTPUT
echo "changes=true" >> "$GITHUB_OUTPUT"
fi
# This only sets the conventional commit prefix. This workflow can't reliably determine
# what the breaking change is though. If a BREAKING CHANGE message is required then
Expand All @@ -74,7 +74,7 @@ jobs:
else
prefix='chore'
fi
echo "message=$prefix: postinstall for dependabot template-oss PR" >> $GITHUB_OUTPUT
echo "message=$prefix: postinstall for dependabot template-oss PR" >> "$GITHUB_OUTPUT"
# This step will fail if template-oss has made any workflow updates. It is impossible
# for a workflow to update other workflows. In the case it does fail, we continue
Expand Down

0 comments on commit 44009b0

Please sign in to comment.