Skip to content

Commit

Permalink
refactor: add pr-delete-branch input (#44)
Browse files Browse the repository at this point in the history
pass this onto coatl-dev/actions/pr-create
  • Loading branch information
cesarcoatl authored Sep 10, 2024
1 parent 0a7512d commit 17b8a2a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pip-compile-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ on:
required: false
type: string
default: 'yes'
pr-delete-branch:
description: >-
Delete the local and remote branch after merge.
required: false
type: string
default: 'yes'
sign-commits:
required: false
type: string
Expand Down Expand Up @@ -101,3 +107,4 @@ jobs:
with:
gh-token: ${{ secrets.gh-token }}
auto-merge: ${{ inputs.pr-auto-merge }}
delete-branch: ${{ inputs.pr-delete-branch }}
7 changes: 7 additions & 0 deletions .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ on:
required: false
type: string
default: 'yes'
pr-delete-branch:
description: >-
Delete the local and remote branch after merge.
required: false
type: string
default: 'yes'
sign-commits:
required: false
type: string
Expand Down Expand Up @@ -125,3 +131,4 @@ jobs:
with:
gh-token: ${{ secrets.gh-token }}
auto-merge: ${{ inputs.pr-auto-merge }}
delete-branch: ${{ inputs.pr-delete-branch }}

0 comments on commit 17b8a2a

Please sign in to comment.