ISO 8601 input parameter values are reformatted
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 1.4k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 24
Description
Describe the bug
Input parameter values that follow ISO 8601 are reformatted and core.getInput() returns a string that is different from the one that was passed to the action step. The reformatted input parameter is also visible in the logs of the action step.
To Reproduce
The input parameter below will produce the 08/21/2020 00:00:00 string in the logs and when accessed with core.getInput('date'). The job runs on ubuntu-latest.
with:
date: '2020-08-21T00:00:00Z'
Expected behavior
The value should not be reformatted.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue from the action step's with input using date: '2020-08-21T00:00:00Z' on ubuntu-latest, then inspect the path that supplies the value to core.getInput('date') and the action-step logs. Done means the ISO 8601 string remains unchanged in both places; the payload names no source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100