micnncim / action-label-syncer

GitHub Action to sync GitHub labels in the declarative way
https://github.com/marketplace/actions/label-syncer
Apache License 2.0
197 stars 31 forks source link

Fails silently #62

Open mightyiam opened 3 years ago

mightyiam commented 3 years ago

It seems that this can fail silently. In the log, I can see the repositories listed. After that, I can see a long docker run invocation and the whole thing completes successfully, while I didn't even provide a secret, so it should fail and I can confirm that I don't see my desired labels on those repos.

luislhl commented 3 years ago

This is also happening to me.

Although I do have a secret, but I think my secret possibly does not have all permissions needed, which I don't know what are exactly.

SebastianOpriel commented 2 years ago

It doesn't work for me either. I wanted to update several repositories with a main repository where labels are managed. I created a PAT which has all rights. The action also detects which labels to delete, but even though it says they have been deleted, they actually are not. So I expect that there is somewhere a bug.

SebastianOpriel commented 1 year ago

The problems was, that the user of the used TOKEN had no write rights to the desired project.

mightyiam commented 1 year ago

Should really get some loud failing in this piece.