Skip to content

GH Actions: various small tweaks#166

Merged
gmazzap merged 1 commit intomasterfrom
feature/ghactions-minor-tweaks
Dec 2, 2025
Merged

GH Actions: various small tweaks#166
gmazzap merged 1 commit intomasterfrom
feature/ghactions-minor-tweaks

Conversation

@jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Dec 2, 2025

This is a preliminary PR before proposing some more extensive changes to the workflow.

This commit:

  1. Adds the pull_request trigger to ensure that pull requests from outside contributors get evaluated via CI.
  2. Ensures all steps have a name.
  3. Removes the redundant job if condition as GHA natively supports the ci skip annotation, so there is no need for the condition.
  4. Removes the redundant fail-fast: true, as true is the default for fail-fast.
  5. Standardizes on 4-space indentation as per @gmazzap's preference as expressed in Refactor CI workflow #118 (comment)
    Note: the industry standard for YAML files is two space indentation, which is what I would prefer. However, if the file uses 4-space indentation, let's at least do so consistently and not only in the job, but not in the other keys.

_This is a preliminary PR before proposing some more extensive changes to the workflow._

This commit:
1. Adds the `pull_request` trigger to ensure that pull requests from outside contributors get evaluated via CI.
2. Ensures all steps have a name.
3. Removes the redundant job `if` condition as GHA natively supports the `ci skip` annotation, so there is no need for the condition.
4. Removes the redundant `fail-fast: true`, as `true` is the default for `fail-fast`.
5. Standardizes on 4-space indentation as per gmazzap's preference as expressed in #118 (comment)
    Note: the industry standard for YAML files is two space indentation, which is what I would prefer. However, if the file uses 4-space indentation, let's at least do so consistently and not only in the job, but not in the other keys.
@jrfnl jrfnl added this to the 2.7.0 milestone Dec 2, 2025
@jrfnl jrfnl requested a review from gmazzap December 2, 2025 15:12
@jrfnl jrfnl added the github_actions Pull requests that update GitHub Actions code label Dec 2, 2025
@gmazzap gmazzap merged commit 35008da into master Dec 2, 2025
46 checks passed
@gmazzap gmazzap deleted the feature/ghactions-minor-tweaks branch December 2, 2025 15:59
@gmazzap
Copy link
Contributor

gmazzap commented Dec 2, 2025

Thanks @jrfnl

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

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants