Skip to content

Commit

Permalink
check_repo: ignore unpublished local changes
Browse files Browse the repository at this point in the history
To allow force ignoring unpublished local changes as we might not be
really publishing a release when running this action.

Signed-off-by: Peng Tao <[email protected]>
  • Loading branch information
bergwolf committed Aug 8, 2023
1 parent 18ee0da commit 7dd35b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ async function run(): Promise<void> {
package_errors = package_errors.filter(
({kind}) => kind !== 'unable-to-get-commit-date'
)
package_errors = package_errors.filter(
({kind}) => kind !== 'has-unpublished-changes'
)
}

if (package_errors.length > 0) {
Expand Down

0 comments on commit 7dd35b6

Please sign in to comment.