Verify GitHub Actions Permissions
Most repositories already have the right settings, but re-check once to avoid any trouble.
Proceed with the following steps:
- Open your GitHub repository.
- Navigate to Settings and then go to Actions and then General.
- Under the action permissions, make sure the actions is not disabled.
- Choose either Allow all actions and reusable workflows, or Allow your organization, and select non-your organization, actions and reusable workflows with Allow actions created by GitHub ticked.
The workflow uses only official GitHub actions such as:
- actions/checkout
- actions/setup-node
- actions/upload-artifact
- github/codeql-action
- After completing the changes, select Save.
note
- You do not need to change Workflow permissions. The
a11y.ymlfile asks for exactly the required permissions. - If these options are greyed out, your organization controls them. Ask an organization owner to allow GitHub-created actions for your repository.