Last active
June 27, 2020 09:40
-
-
Save YonatanKra/a3dd904048567faf0ee44f968c598e92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { testTitle } = require('./lintPR'); | |
const github = require('@actions/github'); | |
const core = require('@actions/core'); | |
function getTitle() { | |
return github.context.payload.pull_request.title; | |
} | |
async function run() { | |
await testTitle(getTitle()); | |
} | |
run().catch(e => core.setFailed(e)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment