Skip to content

Tests Cron

Tests Cron #564

Workflow file for this run

name: Tests Cron
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * 1-5" # At 09:00 AM, Monday through Friday
permissions:
issues: write
content: read

Check failure on line 10 in .github/workflows/tests-cron.yml

View workflow run for this annotation

GitHub Actions / Tests Cron

Invalid workflow file

The workflow is not valid. .github/workflows/tests-cron.yml (Line: 10, Col: 3): Unexpected value 'content'
jobs:
tests:
name: Long running Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Use Node.js
uses: ./.github/actions/setup-node
- name: Install and tests
run: |
yarn --frozen-lockfile --ignore-scripts
yarn test:cron
- name: Create Issue on Failed workflow
if: ${{ failure() }}
uses: dacbd/create-issue-action@ba4d1c45cccf9c483f2720cefb40e437f0ee6f7d #v1.2.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: module-to-cdn configuration fails
body: |
### Context
[Failed Run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
[Codebase](https://github.com/${{ github.repository }}/tree/${{ github.sha }})
Workflow name - `${{ github.workflow }}`
Job - `${{ github.job }}`
status - `${{ job.status }}`
assignees: jmfrancois