mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #230] Secrets are case sensitive #157
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#157
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 @mheap on GitHub (May 11, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/230
When running a workflow with
act, the casing I specify with-s CASED_SECRET=abc123is the only one available in my workflows.For example:
In this workflow,
not_workingis an empty string whilstworkingreturnsabc123as expected.When running this on Actions, both
not_workingandworkinghave the valueabc123Details
Full command:
@github-actions[bot] commented on GitHub (Jul 13, 2020):
Issue is stale and will be closed in 7 days unless there is new activity
@mheap commented on GitHub (Jul 13, 2020):
Sorry bot, this is still a thing that we should look at
@github-actions[bot] commented on GitHub (Sep 12, 2020):
Issue is stale and will be closed in 7 days unless there is new activity
@mheap commented on GitHub (Sep 12, 2020):
Still a thing, github-actions[bot]
@Jmainguy commented on GitHub (Sep 23, 2020):
To be clear, you are saying Github looks at secret Keys as case insensitive, so netkos/act needs to do the same, but currently is looking at them as case sensitive. Is that correct?
@github-actions[bot] commented on GitHub (Jan 8, 2021):
Issue is stale and will be closed in 7 days unless there is new activity
@mheap commented on GitHub (Jan 8, 2021):
Still a thing, 🤖
@catthehacker commented on GitHub (Jan 10, 2021):
@mheap what happens if the same key exists with different casing, is one of them overwritten?
@mheap commented on GitHub (Jan 10, 2021):
@CatTheHacker You mean if I provide
-smultiple times?It could either throw an error or use the last defined value (
barin this case)I'd opt for throwing an error personally
@catthehacker commented on GitHub (Jan 10, 2021):
I was more curious as to what happens on GitHub Actions side when same secrets with different casing are used, but what you said can also be done.
@mheap commented on GitHub (Jan 10, 2021):
Ah - you can't specify different casings on GHA. It's normalised when you click
save@catthehacker commented on GitHub (Jan 10, 2021):
Currently figuring out how to make it fail at creating secrets with same name
edit: well nevermind
https://github.com/CatTheHacker/act/tree/case-insensitive-secrets
https://github.com/CatTheHacker/act/releases/tag/merged-5ad3be23