Skip to content

Revoke GH clone token after post_checkout #1

Description

@humitos

Currently, the GH clone token auto expires after 1h. We can lower down that time limit by revoking the token immediately after using it.

We should revoke it after post_checkout because the user sometimes unshallow the repository at this point and needs the token for that. Also, we should probably revoke it after using it from SyncRepositoryTask as well.

Reference: https://readthedocs.slack.com/archives/C04SS8XNB6K/p1786989086111929

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions