Skip to content

Commit

Permalink
ci: only let MERGED PRs promote images
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jan 2, 2024
1 parent cd85fe9 commit f7f8818
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
# Add tags to PR image
retags:
name: Promote Images
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
runs-on: ubuntu-22.04
permissions:
packages: write
Expand Down

0 comments on commit f7f8818

Please sign in to comment.