Setup
Set your repo to Public
In your OTTR repository, go to Settings in the top navigation tabs
Go to Actions (General) in the side navigation
Under Workflow permissions
Select Read and write permissions
Check Allow GitHub Actions to create and approve pull requests
Click Save
A. Create a personal access token
Click on your profile photo in the upper right
Go to Settings
Go to Developer Settings in the side navigation
Select Generate new token (classic)
Underneath Select Scopes, check both repo and workflow
Click:Copy the personal access token
B. Save the copied personal access token as a repository secret
In your OTTR repository, go to Settings in the top navigation tabs
Go to Secrets and variables in the side navigation
Click on Actions
Under Repository secrets, click onUnder Name, enter GH_PAT
For Secret, paste your copied personal access token
Click on:In your OTTR repository, go to Settings in the top navigation tabs
Go to Pages in the side navigation
In the Build and deployment section
at the bottom of the page, check Enforce HTTPS