Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-1011

Workaround GitHub's token scopes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Precommit
    • None

    Description

      GitHub's token scopes have all sorts of problems. Most people are better off using a custom PAT (despite all the security issues...), but that won't help us under GitHub Actions where the scopes change between forked and non-forked. Worse, there doesn't appear to be a single API that can be used to determine what is possible.

      So rather than throw errors, do all the painful work to figure a) what kind of token was passed and b) what functionality can be enabled.

      Note: I've got a support ticket in with GitHub on this one.

      Attachments

        Activity

          People

            aw Allen Wittenauer
            aw Allen Wittenauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: