Skip to content

Use kebab case in action inputs #20

Use kebab case in action inputs

Use kebab case in action inputs #20

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Deploy
# Pull from current ref
uses: DefangLabs/defang-github-action@${{ github.sha }}

Check failure on line 27 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 27, Col: 13): Unrecognized named-value: 'github'. Located at position 1 within expression: github.sha
with:
cliVersion: v0.5.37
configEnvVars: "DEFANG_GH_ACTION_TEST_MESSAGE"
cwd: "./test"
env:
DEFANG_GH_ACTION_TEST_MESSAGE: ${{ secrets.MESSAGE }}
DEFANG_INTERNAL_TEST: dfng-test
- name: Teardown
run: defang config rm DEFANG_GH_ACTION_TEST_MESSAGE