From e49e07d9057a1ccb439dd313f0d334bed320dd61 Mon Sep 17 00:00:00 2001 From: Kanad Gupta Date: Thu, 5 Jan 2023 15:11:23 -0600 Subject: [PATCH] Fix required GitHub Actions inputs fixes #649 --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index dca0d02..1293553 100644 --- a/action.yml +++ b/action.yml @@ -13,14 +13,14 @@ inputs: When unspecified, will try to load the default ruleset (matching .spectral.{yaml,yml,js,json}) if it exists. repo_token: - required: true + required: false description: | The GitHub App installation access token. [Learn more about `GITHUB_TOKEN`](https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#about-the-github_token-secret) default: ${{ github.token }} event_name: - required: true + required: false description: | The name of the event that triggered the workflow default: ${{ github.event_name }}