Skip to content

Improve GitHub workflows#207

Draft
HexDecimal wants to merge 1 commit into
rougier:masterfrom
HexDecimal:refactor-workflows
Draft

Improve GitHub workflows#207
HexDecimal wants to merge 1 commit into
rougier:masterfrom
HexDecimal:refactor-workflows

Conversation

@HexDecimal
Copy link
Copy Markdown

Manual test of [skip ci] is not required for GitHub actions: https://docs.github.com/en/actions/how-tos/manage-workflow-runs/skip-workflow-runs

actions/upload-artifact should detect missing files and avoid compressing already compressed archives.

Attestation uses special permissions and it is important not to do anything unrelated while those permissions are in scope such as building Python distributions.
I have moved sdists to their own job for this reason.

Update the environment URL to link directly to the specific release version.

success() is the default so adding it is redundant: https://docs.github.com/en/actions/reference/workflows-and-actions/expressions#status-check-functions

startsWith(github.ref, 'refs/tags') is replaced with github.ref_type == 'tag'.

Common actions updated to their latest version.

Manual test of `[skip ci]` is not required for GitHub actions:
https://docs.github.com/en/actions/how-tos/manage-workflow-runs/skip-workflow-runs

`actions/upload-artifact` should detect missing files and avoid compressing already compressed archives.

Attestation uses special permissions and it is important not to do
anything unrelated while those permissions are in scope such as
building Python distributions.
I have moved sdists to their own job for this reason.

Update the environment URL to link directly to the specific release version.

`success()` is the default so adding it is redundant:
https://docs.github.com/en/actions/reference/workflows-and-actions/expressions#status-check-functions

`startsWith(github.ref, 'refs/tags')` is replaced with `github.ref_type == 'tag'`.

Common actions updated to their latest version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant