-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support events without a payload (#15)
* support events that don't have a payload For example, 'on: schedule' does not have a payload[1], which results in an error when attempting to use this action: TypeError: Cannot read property 'url' of undefined This commit updates the code to use the `repo` attribute instead of parsing out the repo org/name from the repo URL. 1. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule * prepare build ``` npm run lint && npm run format && npm run build ``` Added this as a separate commit, as I don't know anything about npm packages, and it's not clear if all of the package list changes are desirable. * README: unify version It may be preferable to set a v1 link and keep that updated to point to the latest release. Also mentioned in PR #11: #11 (comment)
- Loading branch information
Showing
5 changed files
with
73 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.