Skip to content

Instantly share code, notes, and snippets.



Last active Jun 27, 2020
What would you like to do?
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