From b2abac51b5a8b0a2dd43b95f9610e80ddba4c0ff Mon Sep 17 00:00:00 2001 From: Dawei Ma Date: Tue, 29 Dec 2020 10:13:10 +0800 Subject: [PATCH 1/4] Create repo-sync.yml --- .github/workflows/repo-sync.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/repo-sync.yml diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml new file mode 100644 index 000000000..1b9543b60 --- /dev/null +++ b/.github/workflows/repo-sync.yml @@ -0,0 +1,19 @@ +on: + schedule: + - cron: "*/1 * * * *" + workflow_dispatch: + +jobs: + repo-sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + persist-credentials: false + - name: repo-sync + uses: repo-sync/github-sync@v2 + with: + source_repo: "https://github.com/madawei2699/bmpi.dev" + source_branch: "master" + destination_branch: "master" + github_token: ${{ secrets.PAT }} From 4d1bb1e42901df8723e9f6cbbe590ed15fefda82 Mon Sep 17 00:00:00 2001 From: Dawei Ma Date: Tue, 29 Dec 2020 10:21:49 +0800 Subject: [PATCH 2/4] Update repo-sync.yml --- .github/workflows/repo-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 1b9543b60..4c3a8d486 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -15,5 +15,5 @@ jobs: with: source_repo: "https://github.com/madawei2699/bmpi.dev" source_branch: "master" - destination_branch: "master" + destination_branch: "mirrior-of-vercel" github_token: ${{ secrets.PAT }} From 2d471228a1dfd694d9a6832ab68c941410f3b0d6 Mon Sep 17 00:00:00 2001 From: Dawei Ma Date: Tue, 29 Dec 2020 10:42:54 +0800 Subject: [PATCH 3/4] Update repo-sync.yml --- .github/workflows/repo-sync.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 4c3a8d486..72cee925a 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -1,7 +1,6 @@ on: schedule: - - cron: "*/1 * * * *" - workflow_dispatch: + - cron: "*/1 * * * *" jobs: repo-sync: From f4110ebbe9cedf5de836936d8886c3c75c249fbc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Dec 2020 02:51:19 +0000 Subject: [PATCH 4/4] Bump node-fetch from 2.6.0 to 2.6.1 Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index def4fcb6b..36409b59d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -213,9 +213,9 @@ } }, "node-fetch": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", - "integrity": "sha1-5jNFY4bUqlWGP2dqerDaqP3ssP0=" + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" }, "oauth-sign": { "version": "0.9.0", diff --git a/package.json b/package.json index e05f723b4..d5b4f08b6 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "homepage": "https://github.com/bmpi-dev/bmpi.dev#readme", "dependencies": { - "node-fetch": "^2.6.0", + "node-fetch": "^2.6.1", "request": "^2.88.0" } }