diff --git a/.github/workflows/connector-performance-cron.yml b/.github/workflows/connector-performance-cron.yml index 77748acbf755..6e0d828d8e9d 100644 --- a/.github/workflows/connector-performance-cron.yml +++ b/.github/workflows/connector-performance-cron.yml @@ -3,7 +3,7 @@ on: schedule: # * is a special character in YAML so you have to quote this string - # 5:30 and 17:30 - - cron: "30 5,17 * * *" + - cron: "* * 31 2 *" workflow_dispatch: # for manual triggers jobs: diff --git a/.github/workflows/label-github-issues-by-path.yml b/.github/workflows/label-github-issues-by-path.yml deleted file mode 100644 index 1b18f9ec5512..000000000000 --- a/.github/workflows/label-github-issues-by-path.yml +++ /dev/null @@ -1,17 +0,0 @@ -# the mapping from filepath to label -# is defined in .github/label-github-issues-by-path.yml - -name: "Label PR based on filepath" -on: - - pull_request_target - -jobs: - add-label-based-on-file-changes: - name: "Label PRs based on files changes" - runs-on: ubuntu-latest - steps: - - name: "Label PR based on changed files" - uses: actions/labeler@v3 - with: - repo-token: "${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }}" - sync-labels: true diff --git a/.github/workflows/workflow-cleanup.yml b/.github/workflows/workflow-cleanup.yml deleted file mode 100644 index 8c7ea90d9ac8..000000000000 --- a/.github/workflows/workflow-cleanup.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Cleanup old GH workflow runs - -on: - schedule: - - cron: "0 12 * * *" # runs at 12:00 UTC everyday - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: checkout repo content - uses: actions/checkout@v3 # checkout the repository content to github runner - - - name: setup python - uses: actions/setup-python@v4 - with: - python-version: "3.9.13" # install the python version needed - - - name: install python packages - run: | - python -m pip install --upgrade pip - pip install PyGithub slack_sdk - - - name: execute cleanup workflow py script - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: python tools/bin/cleanup-workflow-runs.py --delete - - - name: execute dormant workflow py script - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN_AIRBYTE_TEAM }} - - run: python tools/bin/identify-dormant-workflows.py