File tree Expand file tree Collapse file tree 6 files changed +25
-18
lines changed Expand file tree Collapse file tree 6 files changed +25
-18
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module.exports = [
13
13
'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4' , //actions/stale@v 3.0.13
14
14
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688' ,
15
15
'crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c' ,
16
- 'cschleiden/actions-linter@43fd4e08e52ed40c0e2782dc2425694388851576 ' ,
16
+ 'cschleiden/actions-linter@0ff16d6ac5103cca6c92e6cbc922b646baaea5be ' ,
17
17
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911' ,
18
18
'docker://chinthakagodawita/autoupdate-action:v1' ,
19
19
'fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289' ,
Original file line number Diff line number Diff line change 1
1
name : Remove unused assets
2
2
3
- env :
4
- FREEZE : ${{ secrets.FREEZE }}
5
-
6
3
on :
7
4
schedule :
8
5
- cron : ' 20 15 * * 0' # run every Sunday at 20:15 UTC / 12:15 PST
9
6
7
+ env :
8
+ FREEZE : ${{ secrets.FREEZE }}
9
+
10
10
jobs :
11
11
remove_unused_assets :
12
12
name : Remove unused assets
Original file line number Diff line number Diff line change 16
16
17
17
jobs :
18
18
check-freezer :
19
- if : github.repository == 'github/docs-internal' || github.repository == 'github/docs'
19
+ if : ${{ github.repository == 'github/docs-internal' || github.repository == 'github/docs' }}
20
20
name : Prevent merging during deployment freezes
21
21
runs-on : ubuntu-latest
22
22
steps :
Original file line number Diff line number Diff line change 1
1
name : Repo Sync Stalls
2
+
2
3
on :
3
4
workflow_dispatch :
4
5
schedule :
5
6
- cron : ' 0 */2 * * *'
7
+
8
+ env :
9
+ FREEZE : ${{ secrets.FREEZE }}
10
+
6
11
jobs :
7
12
check-freezer :
8
13
name : Check for deployment freezes
13
18
run : |
14
19
echo 'The repo is currently frozen! Exiting this workflow.'
15
20
exit 1 # prevents further steps from running
21
+
16
22
repo-sync-stalls :
17
23
runs-on : ubuntu-latest
18
24
steps :
Original file line number Diff line number Diff line change 1
1
name : Update GraphQL files
2
2
3
- # **IMPORTANT:** Do not change the FREEZE environment variable set here.
4
- # This workflow runs every hour. To temporarily disable it (for example, during
5
- # a docs freeze), add a secret to the docs repo settings called `FREEZE`
6
- # with a value of `true`. To reenable GraphQL updates, delete the secret in
7
- # the repo settings. The env variable here will evaluate whether the secret exists.
8
- env :
9
- FREEZE : ${{ secrets.FREEZE }}
10
-
11
3
on :
12
4
workflow_dispatch :
13
5
schedule :
14
6
- cron : ' 20 16 * * *' # run every day at 16:20 UTC / 8:20 PST
15
7
8
+ # **IMPORTANT:** Do not change the FREEZE environment variable set here!
9
+ # This workflow runs on a recurring basis. To temporarily disable it (e.g.,
10
+ # during a docs deployment freeze), add an Actions Secret to the repo settings
11
+ # called `FREEZE` with a value of `true`. To re-enable GraphQL updates, simply
12
+ # delete that Secret from the repo settings. The environment variable here
13
+ # will duplicate that Secret's value for later evaluation.
14
+ env :
15
+ FREEZE : ${{ secrets.FREEZE }}
16
+
16
17
jobs :
17
18
update_graphql_files :
18
19
if : github.repository == 'github/docs-internal'
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: Lint workflows
2
2
3
3
on :
4
4
workflow_dispatch :
5
- # push:
6
- # branches:
7
- # - main
8
- # pull_request:
5
+ push :
6
+ branches :
7
+ - main
8
+ pull_request :
9
9
10
10
jobs :
11
11
lint :
16
16
uses : actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
17
17
18
18
- name : Run linter
19
- uses : cschleiden/actions-linter@43fd4e08e52ed40c0e2782dc2425694388851576
19
+ uses : cschleiden/actions-linter@0ff16d6ac5103cca6c92e6cbc922b646baaea5be
20
20
with :
21
21
workflows : ' [".github/workflows/*.yml"]'
You can’t perform that action at this time.
0 commit comments