update
This commit is contained in:
parent
d51a2c6ddb
commit
c00f820312
|
@ -28,6 +28,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
token: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
@ -40,7 +41,7 @@ jobs:
|
||||||
- name: Process command
|
- name: Process command
|
||||||
id: process
|
id: process
|
||||||
env:
|
env:
|
||||||
GH_SECRET: ${{ secrets.GH_SECRET }}
|
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||||
run: |
|
run: |
|
||||||
node << 'EOF'
|
node << 'EOF'
|
||||||
|
@ -53,7 +54,7 @@ jobs:
|
||||||
});
|
});
|
||||||
|
|
||||||
const octokit = new Octokit({
|
const octokit = new Octokit({
|
||||||
auth: process.env.GH_SECRET
|
auth: process.env.GH_TOKEN
|
||||||
});
|
});
|
||||||
|
|
||||||
const eventName = process.env.GITHUB_EVENT_NAME;
|
const eventName = process.env.GITHUB_EVENT_NAME;
|
||||||
|
|
Loading…
Reference in New Issue