mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1473] GITHUB_JOB should be the id not the name #757
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#757
Loading…
Add table
Add a link
Reference in a new issue
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?
Originally created by @jsoref on GitHub (Nov 27, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1473
Bug report info
Command used with act
Describe issue
Per https://docs.github.com/en/actions/learn-github-actions/environment-variables#naming-conventions-for-environment-variables
GITHUB_JOBshould be the job id, not the job name.I have some code which tries to identify the workflow based on this variable, and at least, the documentation says that what I'm doing is correct:
github.com/check-spelling/check-spelling@2edd26d0ad/unknown-words.sh (L353)(I'm going to add some code to tolerate this behavior as well as I'm trying to ship...)
Link to GitHub repository
https://github.com/check-spelling/pleroma/blob/spell-check-with-spelling/.github/workflows/spelling.yml
Workflow content
Relevant log output
Additional information
I don't think #1458 is particularly relevant, although it may be adjacent.
I've included
GITHUB_ACTION_REFandGITHUB_ACTION_REPOSITORYwhich should also be set, but aren't. They're technically out of scope, and I'm in the middle of adding additional code to work around their empty values.To make the run faster, you can add:
.github/actions/spelling/only.txt:@jsoref commented on GitHub (Dec 28, 2022):
Sigh