Skip to content

Commit

Permalink
chore: avoid running closed PR action immediately after reopen
Browse files Browse the repository at this point in the history
  • Loading branch information
spchortis committed Sep 4, 2023
1 parent 6c9a32c commit 91674ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/github/onbranch.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:

closed_pr:
if: github.event.action == 'closed'
concurrency: {{ `${{ github.head_ref }}` }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion assets/github/onmain.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: build and deploy on {{ .DefaultBranch }}
uses: docker://ghcr.io/nearform/initium-cli:latest
Expand Down

0 comments on commit 91674ab

Please sign in to comment.