Skip to content

Bump redhat-plumbers-in-action/differential-shellcheck from 5.5.4 to 5.5.5 #1236

Bump redhat-plumbers-in-action/differential-shellcheck from 5.5.4 to 5.5.5

Bump redhat-plumbers-in-action/differential-shellcheck from 5.5.4 to 5.5.5 #1236

Workflow file for this run

name: Test
on:
pull_request:
push: {branches: main}
schedule: [{cron: '0 0 10 * *'}] # monthly https://crontab.guru/#0_0_10_*_*
workflow_dispatch:
permissions: {contents: read}
jobs:
test:
uses: nodenv/.github/.github/workflows/test.yml@v5
with: {superlinter: false} # TODO renable superlinter
permissions:
contents: read
packages: read
id-token: write
security-events: write
statuses: write
# https://github.com/redhat-plumbers-in-action/differential-shellcheck
shellcheck:
permissions: {contents: read, security-events: write}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: {fetch-depth: 0}
- uses: redhat-plumbers-in-action/differential-shellcheck@0d9e5b29625f871e6a4215380486d6f1a7cb6cdd # v5.5.5
with:
severity: error # TODO strengthen
token: ${{ secrets.GITHUB_TOKEN }}
lts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: npm ci
- run: npm run lint:lts
checksums:
runs-on: ubuntu-latest
steps:
# FIXME workaround https://github.com/actions/checkout/issues/910
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: { fetch-depth: 0 }
- run: npm ci
- if: github.event_name == 'pull_request'
run: npm run lint:checksums -- origin/${{github.base_ref}}
- run: npm run lint:checksums -- HEAD^
if: github.event_name == 'push'