mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: ci wait for label creation before exit (#6655)
* fix: style and token used on exit * [CodeFactor] Apply fixes [ci skip] [skip ci] Co-authored-by: codefactor-io <support@codefactor.io>
This commit is contained in:
co-authored by
codefactor-io
parent
b09df0d3e8
commit
cb1506e535
@@ -12,13 +12,12 @@ jobs:
|
||||
uses: actions/github-script@v3
|
||||
with:
|
||||
# by default, JSON format returned
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
console.log(context)
|
||||
const body = context.payload.pull_request.body
|
||||
const number = context.payload.pull_request.number
|
||||
const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/workflow/test-route/identify.js`)
|
||||
return script({github, context, core}, body, number)
|
||||
return await script({github, context, core}, body, number)
|
||||
- name: Waiting for 200 from the Vercel Preview
|
||||
if: (env.TEST_CONTINUE)
|
||||
uses: patrickedqvist/wait-for-vercel-preview@master
|
||||
|
||||
Reference in New Issue
Block a user