Skip to content

Update to pass secrets as input #5

Update to pass secrets as input

Update to pass secrets as input #5

Workflow file for this run

name: Test Build and Deploy
on:
push:
branches: [main]
# to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check-file-size:
uses: ./.github/workflows/check-file-size.yml
test-build-node-js-app:
uses: ./.github/workflows/node-js-tests.yml
test-build-python-package:
uses: ./.github/workflows/python-tests.yml
sync-to-deployment-fork:
needs: [test-build-node-js-app, test-build-python-package]
uses: ./.github/workflows/sync-to-deployment-fork.yml

Check failure on line 18 in .github/workflows/pipeline.yml

View workflow run for this annotation

GitHub Actions / Test Build and Deploy

Invalid workflow file

The workflow is not valid. In .github/workflows/pipeline.yml (Line: 18, Col: 11): Error from called workflow digitalbuiltenvironment/Smart-Retrieval/.github/workflows/sync-to-deployment-fork.yml@026e9ce30d5e9dc46dc3f43eb0393275fd8ff07d (Line: 13, Col: 9): Unexpected value 'PAT' In .github/workflows/pipeline.yml (Line: 18, Col: 11): Error from called workflow digitalbuiltenvironment/Smart-Retrieval/.github/workflows/sync-to-deployment-fork.yml@026e9ce30d5e9dc46dc3f43eb0393275fd8ff07d (Line: 13, Col: 9): Required property is missing: type
secrets:
PAT: ${{ secrets.PAT }}
sync-to-hugging-face-hub-spaces:
needs: [test-build-node-js-app, test-build-python-package]
uses: ./.github/workflows/sync-to-hugging-face-hub.yml
secrets:
HF_TOKEN: ${{ secrets.HF_TOKEN }}