chore(deps): update chainguard-dev/actions digest to a0a960b - autoclosed #198
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: reviewdog | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| shellcheck: | |
| name: runner / shellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: haya14busa/action-cond@94f77f7a80cd666cb3155084e428254fea4281fd # v1.2.1 | |
| id: reporter | |
| with: | |
| cond: ${{ github.event_name == 'pull_request' }} | |
| if_true: "github-pr-review" | |
| if_false: "github-check" | |
| - uses: reviewdog/action-shellcheck@4c07458293ac342d477251099501a718ae5ef86e # v1.32.0 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: ${{ steps.reporter.outputs.value }} | |
| level: warning | |
| test-shell: | |
| name: runner / suggester / shell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - name: install mvdan/sh | |
| run: | | |
| shfmtversion="v3.6.0" | |
| wget -q https://github.com/mvdan/sh/releases/download/${shfmtversion?}/shfmt_${shfmtversion?}_linux_amd64 | |
| sudo install shfmt_${shfmtversion?}_linux_amd64 /usr/local/bin/shfmt | |
| rm shfmt_${shfmtversion?}_linux_amd64 | |
| - run: shfmt -i 2 -ci -w . | |
| - name: suggester / shfmt | |
| uses: reviewdog/action-suggester@master | |
| with: | |
| tool_name: shfmt | |
| # Need to install latest shellcheck to use diff output format as of writing (2020/08/03). | |
| - name: install shellcheck | |
| run: | | |
| scversion="latest" | |
| wget -qO- "https://github.com/koalaman/shellcheck/releases/download/${scversion?}/shellcheck-${scversion?}.linux.x86_64.tar.xz" | tar -xJv | |
| sudo cp "shellcheck-${scversion}/shellcheck" /usr/local/bin/ | |
| rm -rf "shellcheck-${scversion}/shellcheck" | |
| - run: shellcheck -f diff "$(shfmt -f .)" | patch -p1 | |
| - name: suggester / shellcheck | |
| uses: reviewdog/action-suggester@master | |
| with: | |
| tool_name: shellcheck | |
| misspell: | |
| name: runner / misspell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: reviewdog/action-misspell@d6429416b12b09b4e2768307d53bef58d172e962 # v1.27.0 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-check | |
| level: warning | |
| locale: "US" | |
| alex: | |
| name: runner / alex | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: reviewdog/action-alex@6083b8ca333981fa617c6828c5d8fb21b13d916b # v1.16.0 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-check | |
| level: warning | |
| actionlint: | |
| name: runner / actionlint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| - uses: reviewdog/action-actionlint@437bbe918b0d29544cbf9e8b1d63fe6f4e7a881d # v1.69.0 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-check | |
| level: warning |