Skip to content

Readme: Refine permissions comments #50

Readme: Refine permissions comments

Readme: Refine permissions comments #50

Workflow file for this run

# Taken from https://github.com/typisttech/.github/blob/8c3b859e35165a6e81a660713be195ec61d2ca1d/.github/workflows/lint-actions.yml
name: Lint GitHub Actions
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_call:
permissions:
contents: read
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
sparse-checkout: .github
- name: Check workflow files
uses: docker://rhysd/actionlint:latest
with:
args: -color