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

Update GitHub workflows #7983

Merged
merged 6 commits into from
Nov 3, 2023
Merged

Update GitHub workflows #7983

merged 6 commits into from
Nov 3, 2023

Conversation

gbp
Copy link
Member

@gbp gbp commented Oct 26, 2023

What does this do?

  1. Add workflow to check the changelog is updated
  2. Allow changelog check to be skipped
  3. Allow rspec to be skipped
  4. Update the PR template to help remind devs to do this before the PR is created
  5. Updates action versions (fixes depreciation and NodeJS warnings)
  6. Update platform versions to ubuntu@latest
  7. Minor YAML configuration reordering
  8. Remove pr.reopened workflow event type from RuboCop and CI - we would probably want to rebase in this scenario.

Why was this needed?

When creating PR we should update the changelog as this helps others see what is upcoming in the next release and makes release Alaveteli versions easier.

This workflow ensures an docs/CHANGES.md is modified or the pull request description contains [skip changelog], I've also made sure you can edit the PR description to add this and the workflow reruns.

To skip RSpec we can now include [skip rspec] but unlike the above, editing the PR description won't stop/start RSpec because due to how long this workflow takes to run we don't want to stop/restart the RSpec if minor edits are made to the PR description.

@gbp gbp force-pushed the check-for-changelog branch 10 times, most recently from 84100fc to 035649e Compare October 26, 2023 14:41
@gbp gbp changed the title Add Github workflow to check for changelog entry Add GitHub workflow to check for changelog entry Oct 26, 2023
@gbp gbp changed the title Add GitHub workflow to check for changelog entry Update GitHub workflows Oct 26, 2023
@gbp gbp marked this pull request as ready for review October 26, 2023 14:55
When creating PR we should update the changelog as this helps others see
what is upcoming in the next release and makes release Alaveteli
versions easier.

This workflow ensures an `docs/CHANGES.md` is modified or the pull
request description contains `[skip changelog]`

Update the PR template to help remind devs to do this before the PR is
created.
Allow CI to be skipped with `[skip rspec]` in the pull request
description.
Reorder config to match other jobs.
Be explicit which event types we want to run on. This removed the
default `reopened` event type. If a PR gets reopened we should be
rebasing it rather than testing against old code.
@gbp gbp merged commit 61c253f into develop Nov 3, 2023
9 checks passed
@gbp gbp mentioned this pull request Nov 3, 2023
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.

1 participant