From 0737f5e33f338817b48ed471e93e3bcf2008cb4d Mon Sep 17 00:00:00 2001 From: ishikaray16 <67680446+ishikaray16@users.noreply.github.com> Date: Thu, 28 Nov 2024 15:36:17 +0530 Subject: [PATCH] Delete .github/schedule-workflows.yaml --- .github/schedule-workflows.yaml | 40 --------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/schedule-workflows.yaml diff --git a/.github/schedule-workflows.yaml b/.github/schedule-workflows.yaml deleted file mode 100644 index 03552b0d..00000000 --- a/.github/schedule-workflows.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: "Deploy and Destroy Workflows" - -on: - schedule: - - cron: '30 9 * * 4' - - cron: '30 10 * * 4' - - cron: '30 12 * * 0' - - cron: '30 14 * * 0' - -jobs: - usecase_schedule: - name: "Trigger Actions Schedules" - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Trigger Deploy workflow - run: gh workflow run waf-on-ce-aws-apply.yml --ref deploy-waf-aws-ce - if: github.event.schedule == '30 9 * * 4' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Trigger Destroy workflow - run: gh workflow run waf-on-ce-aws-destroy.yml --ref destroy-waf-aws-ce - if: github.event.schedule == '30 10 * * 4' - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # - name: Trigger Deploy workflow - # run: gh workflow run waf-on-ce-aws-apply.yml --ref deploy-waf-aws-ce - # if: github.event.schedule == '30 128 * * 0' - # env: - # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # - name: Trigger Destroy workflow - # run: gh workflow run waf-on-ce-aws-destroy.yml --ref destroy-waf-aws-ce - # if: github.event.schedule == '30 148 * * 0' - # env: - # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}