Skip to content

Commit

Permalink
fix syntax error and spit bash commands for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeindl committed Feb 28, 2025
1 parent 70782ec commit ae640ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
# set the env.COMMIT variable
- run: echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- run: export CODACY_PROJECT_TOKEN=${{secrets.CODACY_PROJECT_TOKEN}} && bash < (curl -Ls https://coverage.codacy.com/get.sh)
- name: generate coverage report
run: |

Check warning on line 37 in .github/workflows/main.yaml

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

.github/workflows/main.yaml#L37

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.
export CODACY_PROJECT_TOKEN=${{secrets.CODACY_PROJECT_TOKEN}}
bash <(curl -Ls https://coverage.codacy.com/get.sh)
# build the container image and release it as a package in this repository
- uses: mr-smithers-excellent/docker-build-push@v6
Expand Down

0 comments on commit ae640ab

Please sign in to comment.