Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Actions: add new workflow to automate repeated task #336

Merged
merged 1 commit into from Aug 27, 2022

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 27, 2022

The GetVersionTest test class contains a constant which should be set to the PHPCS version number of the latest release.

Until now, this version number would be updated manually on an ad-hoc basis.

This workflow automates these updates and will automatically create a PR to update the version number whenever PHPCS has had a new release.

The workflow will run:

  • Every night via a cronjob.
    Note: this does mean the workflow will be automatically disabled if there would be no activity in the repo for more than two months.
  • On pull requests which update the workflow.
  • And can be manually triggered if needed.

Includes removing the update reminder from the release checklist.

Note: auto-generated PRs will not trigger the workflows, so to merge these PRs an admin will always need to bypass branch protections.

See #259, #286, #324.

@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Aug 27, 2022
The `GetVersionTest` test class contains a constant which should be set to the PHPCS version number of the latest release.

Until now, this version number would be updated manually on an ad-hoc basis.

This workflow automates these updates and will automatically create a PR to update the version number whenever PHPCS has had a new release.

The workflow will run:
* Every night via a cronjob.
    Note: this does mean the workflow will be automatically disabled if there would be no activity in the repo for more than two months.
* On pull requests which update the workflow.
* And can be manually triggered if needed.

Includes removing the update reminder from the release checklist.

See 259, 286, 324.
@jrfnl jrfnl force-pushed the feature/ghactions-automate-phpcs-version-update-pr branch from 92e69cb to 27b6f3f Compare August 27, 2022 22:49
@jrfnl jrfnl merged commit 8823a07 into develop Aug 27, 2022
@jrfnl jrfnl deleted the feature/ghactions-automate-phpcs-version-update-pr branch August 27, 2022 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant