JetBrains / intellij-platform-plugin-template

Template repository for creating plugins for IntelliJ Platform
Apache License 2.0
3.04k stars 614 forks source link

Publish plugin failed because of PR existing label #398

Closed ng-galien closed 1 year ago

ng-galien commented 1 year ago

What happened?

This command fails on My Job

gh label create "$LABEL" \
            --description "Pull requests with release changelog update" \
            || true

Relevant log output or stack trace

Switched to a new branch 'changelog-update-v232.0.3'
[changelog-update-v232.0.3 95f33eb] Changelog update - v232.0.3
 1 file changed, 60 insertions(+), [30](https://github.com/ng-galien/idea-plpgdebugger/actions/runs/5841919331/job/15842520029#step:9:31) deletions(-)
remote: 
remote: Create a pull request for 'changelog-update-v2[32](https://github.com/ng-galien/idea-plpgdebugger/actions/runs/5841919331/job/15842520029#step:9:33).0.3' on GitHub by visiting:        
remote:      https://github.com/ng-galien/idea-plpgdebugger/pull/new/changelog-update-v232.0.3        
remote: 
To https://github.com/ng-galien/idea-plpgdebugger
* [new branch]      changelog-update-v232.0.3 -> changelog-update-v232.0.3
branch 'changelog-update-v232.0.3' set up to track 'origin/changelog-update-v232.0.3'.
label with name "release changelog" already exists; use `--force` to update its color and description
could not add label: 'release changelog' not found
Error: Process completed with exit code 1.

Steps to reproduce

Every time I ran the GH action

Gradle IntelliJ Plugin version

1.15.0

Gradle version

8.2.1

Operating System

macOS

Link to build, i.e. failing GitHub Action job

https://github.com/ng-galien/idea-plpgdebugger/actions/runs/5841919331/job/15842520029

hsz commented 1 year ago

Thanks for reporting, Alexandre!