Skip to content

Conversation

@dscho
Copy link
Collaborator

@dscho dscho commented May 1, 2025

In #218, I added a convenient way to launch this Action in detached mode: mxschmitt/action-tmate/detached@v3.

The way this is implemented is a copy/edited version of action.yml in the detached/ subdirectory.

This runs the danger of inadvertent divergences, as happened in #221 (which I caught in time and the contributor gracefully addressed).

Let's add automation not only to update the file easily but also to cause a failure in the PR build with a helpful message suggesting how to fix the problem.

@dscho dscho self-assigned this May 1, 2025
@dscho dscho force-pushed the verify-detached/action.yml-in-pr-builds branch from 5d64a08 to 88b2bac Compare May 1, 2025 16:41
In #218, I added a
convenient way to launch this Action in detached mode:
`mxschmitt/action-tmate/detached@v3`.

The way this is implemented is a copy/edited version of `action.yml` in
the `detached/` subdirectory.

This runs the danger of inadvertent divergences, as happened in
#221 (which I caught in
time and the contributor gracefully addressed).

Let's add automation not only to update the file easily but also to
cause a failure in the PR build with a helpful message suggesting how to
fix the problem.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho force-pushed the verify-detached/action.yml-in-pr-builds branch from 5c676f0 to 10acb04 Compare May 1, 2025 16:49
dscho added 2 commits May 1, 2025 18:49
There was a difference in whitespace, caught by the new step in
`checkin.yml`.

Signed-off-by: Johannes Schindelin <[email protected]>
The output of that step, if something goes wrong, claims that `dist/` is
not up to date, but the build product is in `lib/`.

Also, `git status -s` shows not only differences in the tracked files,
but also untracked files (which should not exist at that stage). Let's
avoid puzzling contributors when there are untracked files by logging
the output of `git status -s`.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho marked this pull request as ready for review May 1, 2025 16:57
@dscho dscho requested a review from mxschmitt as a code owner May 1, 2025 16:57
@dscho dscho merged commit 7b6a61a into master May 1, 2025
1 check passed
@dscho dscho deleted the verify-detached/action.yml-in-pr-builds branch May 1, 2025 18:11
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.

3 participants