actions / actions/runner

dict keys unexpectedly case insensitive

Open
#737 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Runner Feature
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug
A workflow YAML file, with two variables f.e. set for env, which only differ in case, is considered invalid.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/m6w6/libmemcached/actions/runs/284820451#L190
  2. See error

Expected behavior
Two distinct environment variables set.

Runner Version and Platform

Version of your runner?

Huh?

OS of the machine running the runner? OSX/Windows/Linux/...

Linux

What's not working?

Please include error messages and screenshots.

See reproducing steps; e.g.

env:
  foo: bar
  FOO: baz

will generate an error, that foo is already set.
It should rather accept that and just set the environment variables.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior with a workflow YAML file containing both foo and FOO under env, using the linked Actions run as the example. Confirm that distinct environment variables are accepted and that the duplicate-key error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.