This commit is contained in:
Joel Male
2024-03-31 22:24:25 +10:00
parent 6646f8ee90
commit 414ae453c9
4 changed files with 12 additions and 1 deletions
+5
View File
@@ -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