Skip to content

chore: add repository security automation #7

chore: add repository security automation

chore: add repository security automation #7

Workflow file for this run

name: Lint GitHub Workflows
on:
pull_request:
branches: [ "main" ]
paths:
- ".github/**"
push:
branches: [ "main" ]
paths:
- ".github/**"
schedule:
- cron: "0 15 * * 0"
workflow_dispatch:
permissions: {}
concurrency:
group: actionlint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
actionlint:
name: actionlint
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Run actionlint
env:
ACTIONLINT_VERSION: "1.7.12"
run: |
bash <(curl --silent --location \
"https://raw.githubusercontent.com/rhysd/actionlint/v${ACTIONLINT_VERSION}/scripts/download-actionlint.bash") \
"${ACTIONLINT_VERSION}"
./actionlint -color