mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
Change "Create Pull Request" action to not try merging (#10379)
This commit is contained in:
committed by
GitHub
parent
4af89e944d
commit
fcdfa8609a
@@ -1,5 +1,5 @@
|
||||
name: 'Create and Merge Pull Request'
|
||||
description: 'Creates a pull request and merges it automatically.'
|
||||
name: 'Create Pull Request'
|
||||
description: 'Creates a pull request.'
|
||||
|
||||
inputs:
|
||||
branch-name:
|
||||
@@ -33,7 +33,7 @@ runs:
|
||||
- name: '📝 Print Inputs'
|
||||
shell: 'bash'
|
||||
run: 'echo "${{ toJSON(inputs) }}"'
|
||||
- name: 'Create and Approve Pull Request'
|
||||
- name: 'Creates a Pull Request'
|
||||
if: "inputs.dry-run != 'true'"
|
||||
env:
|
||||
GH_TOKEN: '${{ inputs.github-token }}'
|
||||
@@ -51,4 +51,4 @@ runs:
|
||||
--base "${{ inputs.base-branch }}" \
|
||||
--head "${{ inputs.branch-name }}" \
|
||||
--fill)
|
||||
gh pr merge "$PR_URL" --auto --squash
|
||||
gh pr merge "$PR_URL" --auto
|
||||
|
||||
Reference in New Issue
Block a user