Skip to content

Use reusable workflow action for checking permissions in the update-snapshots bot#18334

Merged
krassowski merged 2 commits intojupyterlab:mainfrom
martinRenou:reusable_permission_check
Jan 14, 2026
Merged

Use reusable workflow action for checking permissions in the update-snapshots bot#18334
krassowski merged 2 commits intojupyterlab:mainfrom
martinRenou:reusable_permission_check

Conversation

@martinRenou
Copy link
Copy Markdown
Member

@martinRenou martinRenou commented Jan 13, 2026

Would fix #17764

@jupyterlab-probot
Copy link
Copy Markdown

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@martinRenou martinRenou changed the title Use reusable workflow for checking permissions in the update-snapshots Use reusable workflow for checking permissions in the update-snapshots bot Jan 13, 2026
Comment thread .github/workflows/galata-update.yml Outdated
Comment thread .github/workflows/galata-update.yml Outdated
@martinRenou martinRenou changed the title Use reusable workflow for checking permissions in the update-snapshots bot Use reusable workflow action for checking permissions in the update-snapshots bot Jan 14, 2026
@martinRenou martinRenou marked this pull request as ready for review January 14, 2026 13:21
Copy link
Copy Markdown
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try it! Thank you @martinRenou!


- name: Checkout
uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/update-snapshots-checkout@main
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Long-term we might want to version this.

@krassowski krassowski merged commit ca82c2f into jupyterlab:main Jan 14, 2026
85 of 86 checks passed
@krassowski krassowski added this to the 4.6.0 milestone Jan 14, 2026
@martinRenou martinRenou deleted the reusable_permission_check branch January 14, 2026 14:16
jasongrout pushed a commit that referenced this pull request Feb 21, 2026
#18550)

## References

Follow-up to #18334, we updated the main `update-galata-snapshots` job
but not the `update-documentation-snapshots` job.

Tested on krassowski#160:
- expected pass on
https://github.com/krassowski/jupyterlab/actions/runs/22254396411/job/64383156972
- expected fail on
https://github.com/krassowski/jupyterlab/actions/runs/22254293312/job/64382916187
(header application via bot modified the branch)

## Code changes

Use `maintainer-tools/update-snapshots-checkout` for setup of the update
action.

## User-facing changes

None

## Backwards-incompatible changes

None

## AI usage

No

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Galata update workflows will break soon as author association field will be removed

2 participants