diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9d7706..00e0f26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -137,14 +137,7 @@ jobs: localhost:5000/name/app:1.0.0 secrets: | GIT_AUTH_TOKEN=${{ github.token }} - "MYSECRET=aaaaaaaa - bbbbbbb - ccccccccc" - FOO=bar - "EMPTYLINE=aaaa - - bbbb - ccc" + MYSECRET=foo - name: Inspect run: | diff --git a/src/context.ts b/src/context.ts index 0a110a2..1b820fa 100644 --- a/src/context.ts +++ b/src/context.ts @@ -84,7 +84,7 @@ export async function getInputs(): Promise { export function sanitizeInputs(inputs: Inputs) { const res = {}; for (const key of Object.keys(inputs)) { - if (key === 'github-token') { + if (key === 'secrets' || key === 'github-token') { continue; } const value: string | string[] | boolean = inputs[key];