mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-09-02 18:56:15 +08:00
wip
This commit is contained in:
@@ -3,6 +3,11 @@ import {http} from './http'
|
||||
import {context} from '@actions/github'
|
||||
|
||||
async function run() {
|
||||
// if its a post job do nothing
|
||||
if (context.job === 'post') {
|
||||
return
|
||||
}
|
||||
|
||||
const url = core.getInput('url')
|
||||
? core.getInput('url')
|
||||
: process.env.WEBHOOK_URL
|
||||
|
||||
Reference in New Issue
Block a user