Skip to content

ci: Restrict content permissions to harden GitHub Actions #3780

ci: Restrict content permissions to harden GitHub Actions

ci: Restrict content permissions to harden GitHub Actions #3780

Workflow file for this run

name: Lint
on:
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: docker/Dockerfile