Skip to content

[Bug]: is_keep_branch_on_pr_cleanup: true results in GitHub syntax error #528

Closed

Description

@kanno41

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When I have is_keep_branch_on_pr_cleanup: true, I see the following error in my GitHub Action
template-sync-bug2

Expected Behavior

I expect it to not produce an error

Current Behavior

See Description

Steps To Reproduce

No response

Possible Solution

It appears to be from this line (-c -c)

gh pr close -c -c "[actions-template-sync] :construction_worker: automatically closed because there is a new open PR. Branch is kept alive" "$older_pr"

Additional Information/Context

No response

Template sync version Version

2.2.0

Activity

  1. added a commit that references this issue on Jun 5, 2024
  2. added a commit that references this issue on Jun 5, 2024
  3. AndreasAugustin commented on Jun 5, 2024

    @AndreasAugustin
    Owner

    @kanno41 fix will be available with next fix version v2.2.1. Actually I did not pay attention related to your commit message. The repo automation is using conventional commits (using release-please).
    the commit message prefix must be fix not bug (sorry, also not documented..).
    Will provide the new version ASAP when I am at a PC

  4. kanno41 commented on Jun 5, 2024

    @kanno41
    ContributorAuthor
  5. added a commit that references this issue on Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions