Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Dec 1, 2025

Pull Request Type

  • I have checked there is no other PR open for the same change.

Detailed Description

Currently, the update-website workflow doesn't deploy the website straight away. Instead it opens a PR with the files which will be changed to allow for review of the website changes before deploying the updated website (by merging the PR).

To that end, the workflow is run:

  • Whenever a tag is created.
  • When a pull request changes any of the files directly involved in updating the website.
  • When manually requested.

What with the frequent Dependabot updates, this has become quite noisy for the "pull request which changes the workflow" trigger.

To that end, this commit blocks the opening of the PR when the workflow/doc building files are changed, while still running the rest of the workflow to verify that the workflow wasn't broken by the changes.

It also introduces a new step to create the branch holding the changes in the local environment.
This was previously done via the "create PR" step, which will now be skipped, while we still need the branch for verifying Ruby can build the GH Pages site.

As the branch should now be checked-out already before we even get to the part of the workflow verifying the site can be build via GH Pages, we can also remove the separate actions/checkout step.

@jrfnl jrfnl added this to the 2.0.x Next milestone Dec 1, 2025
@jrfnl jrfnl requested a review from schlessera December 1, 2025 11:29
@jrfnl jrfnl force-pushed the feature/ghactions-no-longer-open-test-prs branch 2 times, most recently from eae8692 to 0e11871 Compare December 1, 2025 11:42
@jrfnl
Copy link
Member Author

jrfnl commented Dec 1, 2025

Sorry for the commit noise, hoping things are finally correct.

@jrfnl jrfnl mentioned this pull request Dec 8, 2025
10 tasks
Currently, the `update-website` workflow doesn't deploy the website straight away. Instead it opens a PR with the files which will be changed to allow for review of the website changes before deploying the updated website (by merging the PR).

To that end, the workflow is run:
* Whenever a tag is created.
* When a pull request changes any of the files directly involved in updating the website.
* When manually requested.

What with the frequent Dependabot updates, this has become quite noisy for the "pull request which changes the workflow" trigger.

To that end, this commit blocks the opening of the PR when the workflow/doc building files are changed, while still running the rest of the workflow to verify that the workflow wasn't broken by the changes.

It also introduces a new step to create the branch holding the changes in the local environment.
This was previously done via the "create PR" step, which will now be skipped, while we still need the branch for verifying Ruby can build the GH Pages site.

As the branch should now be checked-out already before we even get to the part of the workflow verifying the site can be build via GH Pages, we can also remove the separate `actions/checkout` step.
@jrfnl jrfnl force-pushed the feature/ghactions-no-longer-open-test-prs branch from 0e11871 to c1d93a2 Compare December 12, 2025 16:58
@schlessera schlessera merged commit de754c1 into develop Dec 12, 2025
34 checks passed
@schlessera schlessera deleted the feature/ghactions-no-longer-open-test-prs branch December 12, 2025 17:05
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.

3 participants