mirror of
https://github.com/immich-app/immich.git
synced 2026-07-14 17:11:15 +00:00
fix: don't auto-close manually reopened PRs (#27347)
This commit is contained in:
parent
a277c6311f
commit
eb20b715e4
1 changed files with 6 additions and 1 deletions
7
.github/workflows/auto-close.yml
vendored
7
.github/workflows/auto-close.yml
vendored
|
|
@ -35,7 +35,12 @@ jobs:
|
|||
close_template:
|
||||
runs-on: ubuntu-latest
|
||||
needs: parse_template
|
||||
if: ${{ needs.parse_template.outputs.uses_template == 'false' && github.event.pull_request.state != 'closed' }}
|
||||
if: >-
|
||||
${{
|
||||
needs.parse_template.outputs.uses_template == 'false'
|
||||
&& github.event.pull_request.state != 'closed'
|
||||
&& !contains(github.event.pull_request.labels.*.name, 'auto-closed:template')
|
||||
}}
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue