Skip to content

Commit

Permalink
[INFRA] add pull_request.yml for github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mautz-et-tong committed Aug 22, 2024
1 parent b49ef70 commit 888e69e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Pull Request"
on:
pull_request:
branches:
- main

jobs:
lint:
strategy:
matrix:
version: [ 'buster', 'bullseye', 'bookworm' ]
runs-on: ubuntu-latest
container: pipelinecomponents/hadolint:latest
steps:
- uses: actions/checkout@v2
- uses: hadolint/hadolint-action@v1.5.0
with:
dockerfile: ./src/${{ matrix.version }}/src/Dockerfile

0 comments on commit 888e69e

Please sign in to comment.