growthbook / growthbook/coderefs-action

Action is throwing error related to parsing flag keys

Open
#2 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hello,

I tried to setup the action today and got the following error:

```
Run growthbook/coderefs-action@2.11.5-14
Run curl -H "Authorization: Bearer " "***/api/v1/feature-keys" -o flags.json
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 53 100 53 0 0 229 0 --:--:-- --:--:-- --:--:-- 229
Run echo "flags.json" >> .gbignore
Run growthbook/coderefs-standalone-action@2.11.5-12
/usr/bin/docker run --name f53a983749604837c6417399cc2ed888165387_e57134 --label f53a98 --workdir /github/workspace --rm -e "INPUT_FLAGSPATH" -e "INPUT_DIR" -e "INPUT_BRANCH" -e "INPUT_REPONAME" -e "INPUT_CONTEXTLINES" -e "INPUT_DEBUG" -e "INPUT_LOOKBACK" -e "INPUT_ALLOWTAGS" -e "INPUT_OUTFILE" -e "GB_FLAGS_PATH" -e "GB_DIR" -e "GB_BRANCH" -e "GB_OUT_FILE" -e "GB_CONTEXT_LINES" -e "GB_ALLOW_TAGS" -e "GB_DEBUG" -e "GB_LOOKBACK" -e "GB_REPO_NAME" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WOR

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested

INFO: 2025/01/30 16:39:13 coderefs.go:25: absolute directory path: /github/workspace
INFO: 2025/01/30 16:39:13 git.go:47: git branch:
ERROR: 2025/01/30 16:39:13 flags.go:19: could not parse flag keys: json: cannot unmarshal object into Go value of type []string
```

Perhaps the flag payload schema has changed and the code wasn't updated to handle it? Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.