Skip to content

2. Create a token and add a secret - CLARIFICATION #119

Description

@mgifford

We need a GH_TOKEN is a fine-grained PAT with:

actions: write
contents: write
issues: write
pull-requests: write
metadata: read

So
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#pre-filling-fine-grained-personal-access-token-details-using-url-parameters

We can pre-fill and not use:

https://github.com/settings/personal-access-tokens/new
  ?name=Repo-reading+token
  &description=Just+contents:read
  &target_name=octodemo
  &expires_in=45
  &contents=read

But maybe a link like this:

https://github.com/settings/personal-access-tokens/new
  ?name=Accessibility-scan+token
  &description=GitHub+A11y+Scanner
  &actions=write
  &contents=write
  &issues=write
  &pull_requests=write
  &metadata=read

Correct?

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