MorrisonCole / pr-lint-action

:octocat: A fast 🔥 TypeScript GitHub Action to ensure that your PR title matches a given regex.

Home Page:https://morrisoncole.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

repo-token not defined in action inputs

negebauer opened this issue · comments

Got the following warning in a workflow

image

The input is being used

const githubToken = core.getInput("repo-token");

But is not defined in the action file

inputs:
title-regex:
description: "Regex to ensure PR title matches. Allows anything by default."
required: true
default: ".*"
on-failed-regex-comment:
description:
"Comment for the bot to post on PRs that fail the regex. Use %regex% to
reference regex."
required: true
default: "PR title failed to match %regex%."