Skip to content

ci: Dependabot 関連のカイゼン #6

ci: Dependabot 関連のカイゼン

ci: Dependabot 関連のカイゼン #6

Workflow file for this run

name: 'Checks'
on:
pull_request:
branches:
- main
concurrency:
group: checks-${{ github.ref }}
cancel-in-progress: true
jobs:
changed:
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: read
outputs:
actions: ${{ steps.changes.outputs.actions }}
steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# https://github.com/marketplace/actions/paths-changes-filter
- name: Paths Changes Filter
uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
id: changes
with:
filters: |
actions:
- '.github/workflows/*.yml'
check-actions:
runs-on: ubuntu-22.04
needs: changed
if: needs.changed.outputs.actions == 'true'
timeout-minutes: 10
steps:
# https://github.com/marketplace/actions/checkout
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# https://github.com/marketplace/actions/actionlint-with-reviewdog
- uses: reviewdog/action-actionlint@6a38513dd4d2e818798c5c73d0870adbb82de4a4 # v1.41.0
with:
fail_on_error: true
filter_mode: nofilter
level: error
reporter: github-pr-review
status-check:
runs-on: ubuntu-22.04
needs:
- check-actions
permissions: { }
if: failure()
steps:
- run: exit 1