appleboy / appleboy/lambda-action

Unexpected behaviour on list of environment variables.

Open
#73 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
D2
Stars
435
Forks
57
PR merge metrics
No merged PRs in 30d

Description

So the issue when I trie to provide multiple env vars
```
environment: ENVIRONMENT=production,AWS_WHITE_LIST=foo.bar,jenkins,bar.baz,baz.foo,DB_NAME=sfasfsf,DB_USERNAME=asdasdasd,SLACK_CHANNEL_ID=QWERTY
```
On providing `AWS_WHITE_LIST` it will read only to `foo.bar` first element, and then it stops and will go to next env var. Escaping. quoting won't work here.

Contributor guide

No contributing guide indexed for this repository

Research direction

Use the environment example in the issue as the reproduction and trace how the action parses the `environment` input. Verify how comma-containing `AWS_WHITE_LIST` values are separated from later variables, then confirm the full example is handled without truncating that value.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.