forked from Limour-dev/daily_fudan
-
Notifications
You must be signed in to change notification settings - Fork 201
Home
Limour edited this page Nov 7, 2021
·
4 revisions
Welcome to the daily_fudan wiki!
Q1:How to fix out of "[remote rejected] master -> master (refusing to allow a GitHub App to create or update workflow .github/workflows/main.yml
without workflows
permission) "?
- open URL https://github.com/settings/tokens
- create a token with all scopes and set Expiration to 'no expiration date'
- create secrets "GH_PAT" with the created token
- https://github.com/Limour-dev/daily_fudan/actions as an example
- determine your SCHEDULE for AM, such as "20 23" which means actions will run at a time in 20-23 (UTC)
- determine your SCHEDULE for PM, such as "5 9" which means actions will run at a time in 5-9 (UTC)
- determine your SCHEDULE for update SCHEDULE, such as "4 20" which means SCHEDULE will be updated when actions run at a time in 4-20 (UTC)
- create secrets "SCHEDULE" with "am_inf am_sup pm_inf pm_sup t_inf t_sup" such as "20 23 5 9 4 20"
- create secrets "GH_PAT" with the created token in Q1
- click Settings
- Scroll down
- confirm deletion