Skip to content

Instantly share code, notes, and snippets.

@YonatanKra

YonatanKra/useTestTitle.js

Last active Jun 27, 2020
Embed
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
You can’t perform that action at this time.