Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #473 from langningchen/master
Browse files Browse the repository at this point in the history
merge2
  • Loading branch information
Shan Wenxiao authored Sep 23, 2023
2 parents 874c99a + d6050ff commit 5a920e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/AutoLabel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ jobs:
name: AutoLabel
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: AutoLabel
run: |
ls
pwd
cd ./Update
npm install
node ./AutoLabel.js ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Update/AutoLabel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as github from '@actions/github';
let Data = github.context.payload.comment.body;
let Octokit = github.getOctokit();
let Octokit = github.getOctokit(process.argv[2]);
let Owner = github.context.repo.owner;
let Repo = github.context.repo.repo;
let IssueNumber = github.context.payload.issue.number;
Expand Down

0 comments on commit 5a920e7

Please sign in to comment.