Skip to content

Run nightly job on vscode-kedro #41

Run nightly job on vscode-kedro

Run nightly job on vscode-kedro #41

Workflow file for this run

name: Run nightly job on vscode-kedro
on:
workflow_dispatch:
schedule:
# Run every day at midnight (UTC time)
- cron: '0 0 * * *'
jobs:
nightly-main:
uses: ./.github/workflows/installation.yml
with:
branch: main
notify-main:
permissions:
issues: write
name: Notify failed build for nightly-main
needs: nightly-main
if: ${{ !success() }}
runs-on: ubuntu-latest
steps:
- uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-name: "main nightly build"
title-template: "ci: Nightly build failure on `main`"
body-template: |
GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.
create-label: true
always-create-new-issue: false