jupyter-remote-desktop-proxy icon indicating copy to clipboard operation
jupyter-remote-desktop-proxy copied to clipboard

Quieten binder-badge bot

Open manics opened this issue 4 years ago • 2 comments

Use an action to comment once and update the comment instead of repeatedly commenting.

See https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/2#issuecomment-775461687 This action should ensure there's only one comment that gets updated.

manics avatar Feb 08 '21 21:02 manics

Binder :point_left: Launch a binder notebook on this branch for commit 32bc0e7eef4fdbcdc45a995fda9bfd1583d74a2d

github-actions[bot] avatar Feb 08 '21 21:02 github-actions[bot]

For this to work in the JupyterHub GitHub org, I believe you need to be explicit about the permissions granted to the github token. By default, you only have read inside our org.

Docs about this: https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token

I think you need...

jobs:
  badge:
    permissions:
      pull-requests: write

Perhaps also contents: read? I'm not sure.

consideRatio avatar Jul 24 '21 22:07 consideRatio

Ping @manics, I've not used your action before but we can absolutely go for it! You will need to update permissions though.

consideRatio avatar Jan 14 '23 21:01 consideRatio

Binder :point_left: Launch a binder notebook on this branch for commit 89345d36086de5f1c907d1d939f47b3d7d8ca96c

github-actions[bot] avatar Jan 31 '23 00:01 github-actions[bot]