Skip to content

Commit

Permalink
feat: generate error if required fields are not present when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Feb 5, 2025
1 parent 9fd142a commit 5ff567a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ outputs:
runs:
using: composite
steps:
- name: Check Required Inputs
if: inputs.publish == 'true' && ( !inputs.github-app-id || !inputs.github-app-private-key )
shell: bash
run: "false"

- name: Create GitHub App Token
id: app-token
if: inputs.github-app-id && inputs.github-app-private-key
Expand Down

0 comments on commit 5ff567a

Please sign in to comment.