Skip to content

Add a schedule instead of a push trigger #26

Add a schedule instead of a push trigger

Add a schedule instead of a push trigger #26

name: Create Example Repos

Check failure on line 1 in .github/workflows/createExampleRepos.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/createExampleRepos.yml

Invalid workflow file

invalid `cron` attribute "5 23 * * 5, 6"
on:
workflow_dispatch:
schedule:
- cron: "5 23 * * 5, 6"
jobs:
create:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Configure contributor
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Run script
shell: pwsh
env:
AZURE_DEVOPS_CREATE_PAT: ${{ secrets.AZURE_DEVOPS_CREATE_PAT }}
TEMP: ${{ runner.temp }}
PROVISIONCOUNT: ${{ vars.PROVISIONCOUNT }}
run: |
.\make.ps1 -command "provision" -provisionCount $env:PROVISIONCOUNT