Skip to content

schedule workflow_dispatch trigger #22

schedule workflow_dispatch trigger

schedule workflow_dispatch trigger #22

name: schedule workflow_dispatch trigger
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
schedule_workflow_dispatch_trigger:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: |
gh workflow run -R "${{ github.event.repository.full_name }}" main.yml -f event=workflow_dispatch