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

merge2 #473

Merged
merged 2 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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