Skip to content

Commit

Permalink
fix(ci): fix actionlint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jenstroeger committed Oct 21, 2022
1 parent cffd369 commit e601644
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
SBOM_PATH=$(find dist/ -type f -name "*-sbom.json")
HTML_DOCS_PATH=$(find dist/ -type f -name "*-docs-html.zip")
BUILD_EPOCH_PATH=$(find dist/ -type f -name "*-build-epoch.txt")
DIGEST=$(sha256sum $TARBALL_PATH $WHEEL_PATH $REQUIREMENTS_PATH $SBOM_PATH $HTML_DOCS_PATH $BUILD_EPOCH_PATH | base64 -w0)
DIGEST=$(sha256sum "$TARBALL_PATH" "$WHEEL_PATH" "$REQUIREMENTS_PATH" "$SBOM_PATH" "$HTML_DOCS_PATH" "$BUILD_EPOCH_PATH" | base64 -w0)
echo "Digest of artifacts is $DIGEST."
echo "::set-output name=artifacts-sha256::$DIGEST"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-conventional-commits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
PR_TITLE: ${{ github.event.pull_request.title }}
- name: Check PR commit messages
run: |
git remote add other $PR_HEAD_REPO_CLONE_URL
git remote add other "$PR_HEAD_REPO_CLONE_URL"
git fetch other
cz check --rev-range origin/$PR_BASE_REF..other/$PR_HEAD_REF
cz check --rev-range "origin/$PR_BASE_REF..other/$PR_HEAD_REF"
env:
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
- name: Set up user
run: |
git config --global user.name $USER_NAME
git config --global user.email $USER_EMAIL
git config --global user.name "$USER_NAME"
git config --global user.email "$USER_EMAIL"
git config --list --global # For debug purposes.
- name: Create changelog and bump
Expand Down Expand Up @@ -138,13 +138,13 @@ jobs:
pip install --upgrade pip wheel
pip install 'commitizen ==2.32.1'
- name: Create Release Notes
run: cz changelog --dry-run $(cz version --project) > RELEASE_NOTES.md
run: cz changelog --dry-run "$(cz version --project)" > RELEASE_NOTES.md

# Create the release including the artifacts and the SLSA L3 provenance.
- name: Upload assets
env:
GH_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
run: TAG=`git describe --tags --abbrev=0` && gh release create $TAG dist/* ${{ needs.provenance.outputs.attestation-name }} --title $TAG --notes-file RELEASE_NOTES.md
run: TAG=$(git describe --tags --abbrev=0) && gh release create "$TAG" dist/* ${{ needs.provenance.outputs.attestation-name }} --title "$TAG" --notes-file RELEASE_NOTES.md

# Uncomment the following steps to publish to a PyPI server.
# At the moment PyPI does not provide a mechanism to publish
Expand Down

0 comments on commit e601644

Please sign in to comment.