Skip to content

Nightly releases are published even with no changes #16491

Closed
@brendankenny

Description

@brendankenny

The cron job is intended to only publish a nightly version to npm when there's been a change in the last day, but it's still plugging along and publishing a nightly version every day.

I haven't actually tried debugging, but just reading it, it might just be publish needs a needs: check_date line to tie them together?

publish:
# Prevent scheduled job from running if...
# 1) this is a fork
# 2) there has not been a change in the last day
if: |
github.event_name != 'schedule' ||
(github.repository == 'GoogleChrome/lighthouse' && ${{ needs.check_date.outputs.should_run != 'false' }})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions