@@ -10,6 +10,7 @@ infrastructure.
1010- [ ![ Manage issues and pull requests in projects] [ issues_badge ]] [ issues_link ]
1111- [ ![ Normalize Repos] [ norm_badge ]] [ norm_link ]
1212- [ ![ Push data to CC Open Source] [ data_badge ]] [ data_link ]
13+ - [ ![ Enable workflows] [ enable_badge ]] [ enable_link ]
1314
1415[ teams_badge ] : https://github.com/creativecommons/ccos-scripts/actions/workflows/sync_community_teams.yml/badge.svg
1516[ teams_link ] : #sync-community-teams-with-github
@@ -19,6 +20,8 @@ infrastructure.
1920[ norm_link ] : #normalize-repos
2021[ data_badge ] : https://github.com/creativecommons/ccos-scripts/actions/workflows/push_data_to_ccos.yml/badge.svg
2122[ data_link ] : #push-data-to-cc-open-source
23+ [ enable_badge ] : https://github.com/creativecommons/ccos-scripts/actions/workflows/enable_workflows.yml/badge.svg
24+ [ enable_link ] : #enable-workflows
2225
2326
2427## Code of conduct
@@ -113,8 +116,6 @@ in a GitHub project:
113116| | File: | [ ` normalize_repos.py ` ] [ norm_file ] |
114117| | Common Modules: | [ ` ccos/ ` ] ( ccos/ ) |
115118| | Specific Modules: | [ ` ccos/norm/ ` ] ( ccos/norm/ ) |
116- | ** Action** | | |
117- | | | [ gautamkrishnar/keepalive-workflow] [ keepalive ] |
118119| ** Env** | | |
119120| | Required: | ` ADMIN_GITHUB_TOKEN ` |
120121
@@ -128,7 +129,6 @@ new labels. It will never delete labels.
128129
129130[ norm_pr_yml ] : .github/workflows/normalize_repos.yml
130131[ norm_file ] : normalize_repos.py
131- [ keepalive ] : https://github.com/gautamkrishnar/keepalive-workflow
132132
133133
134134### Push data to CC Open Source
@@ -167,6 +167,28 @@ The destination data is used by the following pages:
167167[ db_repos ] : https://github.com/creativecommons/ccos-website-source/blob/main/databags/repos.json
168168
169169
170+ ### Eanble Workflows
171+
172+ | ** Workflow** | | |
173+ | -- | --: | --- |
174+ | | Schedule: | Monthly on the 1st at 22:22 |
175+ | | YAML: | [ ` enable_workflows.yml ` ] [ enable_workflows_yml ] |
176+ | ** Script** | | |
177+ | | File: | [ ` enable_workflows.py ` ] [ enable_workflows_file ] |
178+ | | Common Modules: | [ ` ccos/ ` ] ( ccos/ ) |
179+ | ** Env** | | |
180+ | | Required: | ` ADMIN_GITHUB_TOKEN ` |
181+
182+ Enable GitHub Action workflows for specified repositories (ensures that they
183+ are not disabled due to inactivity).
184+
185+ For more information, see [ Prevent scheduled GitHub Actions from becoming disabled - Stack Overflow] [ prevent_scheduled ] .
186+
187+ [ enable_workflows_yml ] : .github/workflows/enable_workflows.yml
188+ [ enable_workflows_file ] : enable_workflows.py
189+ [ prevent_scheduled ] : https://stackoverflow.com/questions/67184368/prevent-scheduled-github-actions-from-becoming-disabled
190+
191+
170192## Environment Variables
171193
172194- ` ADMIN_ASANA_TOKEN ` : Asana token with access to the Creative Commons Asana
0 commit comments