Skip to content

Allow Github Actions executions from contributions PR #21

Allow Github Actions executions from contributions PR

Allow Github Actions executions from contributions PR #21

Workflow file for this run

name: lint-dockerfile
# trigger on any push
# but not on master or tags
# and only for Dockerfile related modifications
on:
pull_request:
types: [ synchronize, opened, reopened, ready_for_review ]
push:
tags-ignore:
- "**"
branches:
- "**"
- "!master"
paths:
- "Dockerfile"
- "hadolint.yaml"
- ".github/workflows/lint-dockerfile.yml"
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Lint Dockerfile
uses: brpaz/hadolint-action@v1.5.0
with:
dockerfile: "Dockerfile"
config: "hadolint.yaml"