https://cypress.io logo
Schedule run not working for me
# cypress-cloud
r
Copy code
name: cypress-schedule-run

on:
  schedule:
    - cron: '*/5 * * * *'
  workflow_dispatch:

jobs:
  my-job:
    runs-on: ubuntu-latest
    steps:
      - name: first step
        run: echo "hello"
I have added this code to my action file to run the job every 5 minutes but the job doesn't run at all. And workflow_dispatcher event is also not there. Any solution?
m
This isn't a Cypress Cloud issue. It looks like it is probably GitHub Actions. The documentation is on https://docs.github.com/en/actions. The workflow needs to be in your default branch, or at least a workflow with the same name needs to be placed there, otherwise the workflow will not be visible in Actions and cannot be run.
r
Thanks. it's working now.