Skip to content

Change CI to github actions #1

Change CI to github actions

Change CI to github actions #1

Workflow file for this run

---
name: Continuous integration
on:
push:
pull_request:
workflow_dispatch:
jobs:
yamllint:
name: Yaml lint
uses: theautomation/github-actions/.github/workflows/yamllint.yaml@main
build-and-push-image:
name: Build and Push Image
needs: [home-assistant, yamllint]

Check failure on line 16 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / Continuous integration

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 16, Col: 13): Job 'build-and-push-image' depends on unknown job 'home-assistant'.
uses: theautomation/github-actions/.github/workflows/build-and-push.yaml@main
with:
publish: true
dispatch-update-manifest:
name: Repository Dispatch to Update Manifest
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PAT }}
repository: theautomation/gitops
event-type: update-manifest
client-payload:
'{"ref": "${{ github.ref }}", "repository": "${{
github.repository}}", "registry": "ghcr.io", "sha": "${{ github.sha
}}"}'