Skip to content

Commit

Permalink
ci: only run build when pull request is merged
Browse files Browse the repository at this point in the history
  • Loading branch information
metaclips committed Nov 27, 2023
1 parent 16c337d commit 1378293
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/distroless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
push:
paths:
- 'tools/docker/wolfi/**'
branches:
- develop

permissions:
contents: read
Expand All @@ -26,7 +28,7 @@ jobs:
runs-on: ubuntu-20.04
permissions:
packages: write
# environment: release
environment: release

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/wolfi/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# Except files with the .yaml extension
!*.yaml
!README.md
!.gitignore
!.gitignore

0 comments on commit 1378293

Please sign in to comment.