4
5
Fork
You've already forked action
0

CI fails with no output #1

Closed
opened 2025年11月16日 22:56:24 +01:00 by ISSOtm · 4 comments

Example: https://codeberg.org/ISSOtm/eldred.fr/actions/runs/2/jobs/0/attempt/2

The first attempt was in the current configuration, the second one with the DNS records altered to ALIAS grebedoc.dev. The lack of any error output are not giving me much to work off of... what's going on?

Note that, even with the current DNS records, this Works On My MachineTM:

% ~/go/bin/git-pages-cli https://eldred.fr --password $PASSWORD --upload-dir public --server grebedoc.dev
result: no-change
(archive)
Example: https://codeberg.org/ISSOtm/eldred.fr/actions/runs/2/jobs/0/attempt/2 The first attempt was in the current configuration, the second one with the DNS records altered to `ALIAS grebedoc.dev`. The lack of any error output are not giving me much to work off of... what's going on? Note that, even with the current DNS records, this Works On My MachineTM: ```console % ~/go/bin/git-pages-cli https://eldred.fr --password $PASSWORD --upload-dir public --server grebedoc.dev result: no-change (archive) ```

OK, this is my fault..-ish.

The behavior is indeed incredibly confusing. Here is where the error ends up:

image

(Please don't ask me how I came to know this. It was not a joyful journey. It's actually a general thing: if you ever see no output from a Forgejo Action, look at the next or final step.)

OK, this is my fault..-ish. The behavior is indeed incredibly confusing. Here is where the error ends up: ![image](/attachments/034985b8-324f-4c11-a2eb-dd686bf5040c) (Please don't ask me how I came to know this. It was not a joyful journey. It's actually a general thing: if you ever see no output from a Forgejo Action, look at the next or final step.)
172 KiB

As for why this happens: though I'm not aware of any specification or documentation for this, it seems that Forgejo Actions runner will cache action checkouts and then just not update branch references in those cached checkouts, so you end up with a somewhat arbitrary commit that doesn't get updated. Try using https://codeberg.org/git-pages/action@5363f77926c0c1aa61fbe41ea729fe6ca349f8f2.

As for *why* this happens: though I'm not aware of any specification or documentation for this, it seems that Forgejo Actions runner will cache action checkouts and then just not update branch references in those cached checkouts, so you end up with a somewhat arbitrary commit that doesn't get updated. Try using `https://codeberg.org/git-pages/action@5363f77926c0c1aa61fbe41ea729fe6ca349f8f2`.

Update: try using https://codeberg.org/git-pages/action@v1.0.0.

Update: try using `https://codeberg.org/git-pages/action@v1.0.0`.
Author
Copy link

It worked! Thank you very much ^^

Please don't ask me how I came to know this. It was not a joyful journey.

Relatable, I've been through my own cursed journeys too 🫡

[It worked](https://codeberg.org/ISSOtm/eldred.fr/actions/runs/3/jobs/0/attempt/1)! Thank you very much ^^ > Please don't ask me how I came to know this. It was not a joyful journey. Relatable, I've been through my own cursed journeys too 🫡
Sign in to join this conversation.
No Branch/Tag specified
v2
v1
v2.1.0
v2.0.0
v1.4.0
v1.2.0
v1.0.1
v1.0.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
git-pages/action#1
Reference in a new issue
git-pages/action
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?