Skip to content

Commit

Permalink
fix: only build dockerfile on workflow dispatch or push
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Armstrong committed Jan 16, 2025
1 parent f9448b3 commit fdebe0b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/dockerfile-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@ on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
types: [review_requested]
branches: [ "main" ]

jobs:

build:
if: ${{(github.event_name == 'push') || contains(github.event.pull_request.labels.*.name, 'Exhaustive CI') || contains(github.event.pull_request.labels.*.name, 'Build Docker Files')}}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build Dockerfile
Expand Down

0 comments on commit fdebe0b

Please sign in to comment.