Skip to content

Conversation

Bilge
Copy link
Contributor

@Bilge Bilge commented Jul 28, 2024

The workflow dispatch trigger allows manually running the workflow from the web UI.

pull_request:
workflow_dispatch:
schedule:
- cron: 0 6 * * *
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add a cron?

Copy link
Contributor Author

@Bilge Bilge Jul 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because this was last tested 7 months ago and it is set up to build against the latest version of Redis, which is moving forwards over time, so this will alert you if an incompatibility arises going forward. Moreover, since there is no composer.lock, all the libraries can change, as is the case presently, since CI is failing with Psalm errors which were unknown until someone tried to create a PR. For either, but especially both of these reasons, we should have a daily cron. It's not like it costs you anything, so I don't see a downside.

- pull_request
push:
pull_request:
workflow_dispatch:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See PR description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants