Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov committed Dec 5, 2024
1 parent 30deaeb commit 9a7d1f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/actions/neon-get-endpoint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ runs:
echo "id=${endpoint_id}" >> ${GITHUB_OUTPUT}
host=$(echo $branch | jq --raw-output '.endpoints[0].host')
echo "host=${host}" >> $GITHUB_OUTPUT
env:
API_HOST: ${{ inputs.api_host }}
API_KEY: ${{ inputs.api_key }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cloud-regress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
id: endpoint-id
uses: ./.github/actions/neon-get-endpoint
with:
api_key: ${{secrets.NEON_STAGING_API}}
api_key: ${{ secrets.NEON_STAGING_API_KEY }}
project_id: ${{inputs.project-id}}

- name: Create a new branch
id: create-branch
uses: ./.github/actions/neon-get-endpoint
with:
api_key: ${{secrets.NEON_STAGING_API}}
api_key: ${{ secrets.NEON_STAGING_API_KEY }}
project_id: ${{inputs.project-id}}
add_endpoint: false

Check failure on line 93 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L93

input "add_endpoint" is not defined in action "Get Endpoint" defined at "./.github/actions/neon-get-endpoint". available inputs are "api_host", "api_key", "project_id" [action]
Raw output
.github/workflows/cloud-regress.yml:93:11: input "add_endpoint" is not defined in action "Get Endpoint" defined at "./.github/actions/neon-get-endpoint". available inputs are "api_host", "api_key", "project_id" [action]

Expand All @@ -98,7 +98,7 @@ jobs:
ENDPOINT_ID: ${{steps.endpoint-id.outputs.id}}
BRANCH_ID: ${{steps.create-branch.outputs.id}}
API_HOST: console-stage.neon.build
API_KEY: ${{secrets.NEON_STAGING_API}}
API_KEY: ${{ secrets.NEON_STAGING_API_KEY }}
run: |

Check failure on line 102 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L102

shellcheck reported issue in this script: SC2034:warning:1:1: i appears unused. Verify use (or export if used externally) [shellcheck]
Raw output
.github/workflows/cloud-regress.yml:102:9: shellcheck reported issue in this script: SC2034:warning:1:1: i appears unused. Verify use (or export if used externally) [shellcheck]

Check failure on line 102 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L102

shellcheck reported issue in this script: SC2153:info:4:64: Possible misspelling: ENDPOINT_ID may not be assigned. Did you mean endpoint_id? [shellcheck]
Raw output
.github/workflows/cloud-regress.yml:102:9: shellcheck reported issue in this script: SC2153:info:4:64: Possible misspelling: ENDPOINT_ID may not be assigned. Did you mean endpoint_id? [shellcheck]

Check failure on line 102 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L102

shellcheck reported issue in this script: SC2215:warning:8:3: This flag is used as a command name. Bad line break or missing [ .. ]? [shellcheck]
Raw output
.github/workflows/cloud-regress.yml:102:9: shellcheck reported issue in this script: SC2215:warning:8:3: This flag is used as a command name. Bad line break or missing [ .. ]? [shellcheck]
for i in ${1 10}; do
data=$(jq -nc "{endpoint:{branch_id: \"${BRANCH_ID}\"}}")
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
id: connect-uri
uses: ./.github/actions/neon-get-connection-uri
with:
api_key: ${{secrets.NEON_STAGING_API}}
api_key: ${{ secrets.NEON_STAGING_API_KEY }}
project_id: ${{inputs.project-id}}
endpoint_id: ${{steps.endpoint-id.id}}

Check failure on line 131 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L131

property "id" is not defined in object type {conclusion: string; outcome: string; outputs: {id: string}} [expression]
Raw output
.github/workflows/cloud-regress.yml:131:27: property "id" is not defined in object type {conclusion: string; outcome: string; outputs: {id: string}} [expression]

Expand Down

0 comments on commit 9a7d1f2

Please sign in to comment.