update fork names and references #23
This file contains 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: | |
types: [ opened, synchronize ] | |
# only allow minimum required permissions at top-level | |
permissions: | |
contents: read | |
jobs: | |
shellcheck: | |
name: runner / shellcheck | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write # add check status to PR | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- 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@ccaafec556ffa154f112bfcb7b9c9574190b7091 # v1.27.0 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: ${{ steps.reporter.outputs.value }} | |
level: warning | |
hadolint: | |
name: runner / hadolint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write # add check status to PR | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- 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-hadolint@73fec8b28091e5082c19df69815dd749d97b882a # v1.46.0 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: ${{ steps.reporter.outputs.value }} | |
level: warning | |
markdown-lint: | |
name: runner / markdownlint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write # add check status to PR | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: markdown-lint | |
uses: reviewdog/action-markdownlint@28fb4224271253fedd5079b61de820d6228041fd # v0.25.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-review | |
markdownlint_flags: '**/*.md --ignore LICENSE.md --disable MD013 --' # disable line length rule and ignore LICENSE file | |
misspell: | |
name: runner / misspell | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write # add check status to PR | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: reviewdog/action-misspell@ef8b22c1cca06c8d306fc6be302c3dab0f6ca12f # v1.23.0 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-check | |
level: warning | |
locale: "US" | |
alex: | |
name: runner / alex | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write # add check status to PR | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: reviewdog/action-alex@73756e09c07d6025e86f0ac5605b65f2d4b4b78b # v1.14.0 | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-check | |
level: warning |