Description of the need
Sometimes a PR makes changes that doesn't require running tests on; e.g. documentation-only changes. In these cases, it'd be nice to save time by being able to skip the automated tests.
Proposed solution
Update our GH action to only run if a certain keyword/phrase isn't present in the PR title/commit message (e.g. [skip ci], [skip tests], etc.). So you'd make your documentation-only PR with the message Issue #12345: Fix typo in README [skip tests]
, and then the test suite wouldn't run for that PR.
It seems that a simple if condition in the GH action will achieve this: https://github.com/veggiemonk/skip-commit#just-use-yaml-recommended
Alternatives that have been considered
I believe those with the right permissions/access can cancel a workflow, but there are 9 workflows that make up our test suite, so it'd be nice if this was automated instead.
Additional information
Related: https://github.com/backdrop/backdrop-issues/issues/4607
Draft of feature description for Press Release (1 paragraph at most)
Backdrop now allows skipping CI tests in PRs by adding [skip tests]
to the PR title.
Recent comments
@yorkshirepudding - Thank you! That's just what I needed. In the code, it's actually fontyourface_ui_settings_form (with underscores rather than dashes). Now it's working ... I only have to figure...
Question about hook_form_FORM_ID_alter
Oh the benefits of a new set of eyes.... I don't know how many times I've looked at that css and not spotted that! Mind you, in my defense, my eyes are over 70 years old (and obviously in need of...
How to over-ride grid-flexbox.css
thanks yorkshirepudding, i used the CSS Injector option with this code and it works .views-table caption { font-weight: bold; color: blue; font-size: 26px; }
How to change the format of the Views group title field?