Skip to content

ci: refactor nightlies workflow + update go mod dependencies #27

ci: refactor nightlies workflow + update go mod dependencies

ci: refactor nightlies workflow + update go mod dependencies #27

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Scheduled Nightlies
concurrency:
group: nightlies
cancel-in-progress: false
on:
workflow_dispatch:
inputs:
appsToBuild:
description: App(s) to build
required: false
type: string
default: all
schedule:
- cron: "0 0 * * *"
pull_request:
jobs:
simple-checks:
name: Simple Checks
uses: ./.github/workflows/simple-checks.yaml
build-images:
name: Build Images
needs: simple-checks
uses: ./.github/workflows/build-applications.yaml

Check failure on line 29 in .github/workflows/nightlies-scheduled.yaml

View workflow run for this annotation

GitHub Actions / Scheduled Nightlies

Invalid workflow file

The workflow is not valid. In .github/workflows/nightlies-scheduled.yaml (Line: 29, Col: 11): Error from called workflow cosmos/nightly-stack/.github/workflows/build-applications.yaml@d7fc439fc0a72cfff3d9026eac760eb2433f8483 (Line: 101, Col: 14): Unrecognized named-value: 'GITHUB_WORKSPACE'. Located at position 1 within expression: GITHUB_WORKSPACE
secrets: inherit
permissions:
contents: read
packages: write
with:
# appsToBuild: ${{ inputs.appsToBuild }}
appsToBuild: all
sendNotifications: true
# render-readme:
# name: Render Readme
# needs: build-images
# uses: ./.github/workflows/render-readme.yaml
# secrets: inherit