Skip to content

Commit

Permalink
fix(CI): use old octokit version to support require
Browse files Browse the repository at this point in the history
新版本require存在问题,需要等octokit/octokit.js#2665 合并才能正常
  • Loading branch information
hudeng-go authored and BLumia committed May 6, 2024
1 parent 8abefd9 commit 5919cd9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-integration-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
run: |
npm install js-yaml
npm install shelljs
npm install @octokit/rest
npm install @octokit/auth-app
npm install @octokit/rest@19.0.13
npm install @octokit/auth-app@6.1.1
- name: Get integration app token
id: integration_token
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ jobs:
- name: install depends for load scripts
if: github.event.pull_request.merged
run: |
npm install @octokit/rest
npm install @octokit/auth-app
npm install @octokit/rest@19.0.13
npm install @octokit/auth-app@6.1.1
- name: Get token using github-script
id: get-token
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/chatOps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ jobs:
startsWith(github.event.comment.body, '/merge') || startsWith(github.event.comment.body, '/check') ||
startsWith(github.event.comment.body, '/forcemerge')
run: |
npm install @octokit/rest
npm install @octokit/auth-app
npm install @octokit/rest@19.0.13
npm install @octokit/auth-app@6.1.1
- name: Get token using github-script
if: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/transfer-issues-func.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
steps:
- name: install depends for load scripts
run: |
npm install @octokit/rest
npm install @octokit/auth-app
npm install @octokit/rest@19.0.13
npm install @octokit/auth-app@6.1.1
- name: Get token using github-script
id: get-token
uses: actions/github-script@v6
Expand Down

0 comments on commit 5919cd9

Please sign in to comment.