Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows/spdx: fix actionlint errors #15188

Merged
merged 1 commit into from Apr 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/spdx.yml
Expand Up @@ -41,7 +41,7 @@ jobs:
git fetch origin

BRANCH="spdx-update"
echo "branch=${BRANCH}" >> $GITHUB_OUTPUT
echo "branch=${BRANCH}" >> "$GITHUB_OUTPUT"

if git ls-remote --exit-code --heads origin "${BRANCH}"
then
Expand All @@ -55,11 +55,11 @@ jobs:
then
git add "Library/Homebrew/data/spdx"
git commit -m "spdx: update license data." -m "Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml)."
echo "committed=true" >> $GITHUB_OUTPUT
echo "committed=true" >> "$GITHUB_OUTPUT"
PULL_REQUEST_STATE="$(gh pr view --json=state | jq -r ".state")"
if [[ "${PULL_REQUEST_STATE}" != "OPEN" ]]
then
echo "pull_request=true" >> $GITHUB_OUTPUT
echo "pull_request=true" >> "$GITHUB_OUTPUT"
fi
fi

Expand Down