Skip to content

Commit 6fad84e

Browse files
authored
Merge pull request #13716 from github/repo-sync
repo sync
2 parents be40213 + cfbc6f6 commit 6fad84e

File tree

5 files changed

+5
-17
lines changed

5 files changed

+5
-17
lines changed

.github/workflows/triage-unallowed-contributions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
- 'lib/search/indexes/**'
2222
- 'package*.json'
2323
- 'Procfile'
24-
- 'scripts/**'
24+
- 'script/**'
2525
- 'translations/**'
2626

2727
permissions:

package-lock.json

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120
"@typescript-eslint/eslint-plugin": "^4.33.0",
121121
"@typescript-eslint/parser": "^4.31.1",
122122
"async": "^3.2.2",
123-
"await-sleep": "0.0.1",
124123
"babel-loader": "^8.2.3",
125124
"babel-plugin-styled-components": "^2.0.2",
126125
"babel-preset-env": "^1.7.0",

script/deployment/deploy-to-production.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/usr/bin/env node
2-
import sleep from 'await-sleep'
32
import got from 'got'
43
import Heroku from 'heroku-client'
54
import { setOutput } from '@actions/core'
65

6+
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
7+
78
const SLEEP_INTERVAL = 5000
89
const HEROKU_LOG_LINES_TO_SHOW = 25
910
const DELAY_FOR_PREBOOT_SWAP = 135000 // 2:15

script/deployment/purge-edge-cache.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import sleep from 'await-sleep'
21
import got from 'got'
32

3+
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
4+
45
const ONE_SECOND = 1000
56

67
async function purgeFastlyBySurrogateKey({ apiToken, serviceId, surrogateKey }) {

0 commit comments

Comments
 (0)