Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/daily_collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Daily Collection

on:
workflow_dispatch:
inputs:
slack_channel:
description: Slack channel to post the error message to if the builds fail.
required: false
default: "sdv-alerts-debug"

schedule:
- cron: '0 0 * * *'
Expand Down Expand Up @@ -50,7 +45,3 @@ jobs:
- name: Install dependencies
run: |
uv pip install .[dev]
- name: Slack alert if failure
run: python -m gitmetrics.slack_utils -r ${{ github.run_id }} -c ${{ github.event.inputs.slack_channel || 'sdv-alerts' }}
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/daily_summarize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Daily Summarize

on:
workflow_dispatch:
inputs:
slack_channel:
description: Slack channel to post the error message to if the builds fail.
required: false
default: "sdv-alerts-debug"

schedule:
- cron: '0 1 * * *'
Expand Down Expand Up @@ -64,11 +59,3 @@ jobs:
- name: Install dependencies
run: |
uv pip install .[dev]
- name: Slack alert if failure
run: |
uv run python -m gitmetrics.slack_utils \
-r ${{ github.run_id }} \
-c ${{ github.event.inputs.slack_channel || 'sdv-alerts' }} \
-m 'Summarize GitMetrics build failed :fire: :dumpster-fire: :fire:'
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
9 changes: 0 additions & 9 deletions .github/workflows/traffic_collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Biweekly Traffic collection

on:
workflow_dispatch:
inputs:
slack_channel:
description: Slack channel to post the error message to if the builds fail.
required: false
default: "sdv-alerts-debug"

schedule:
- cron: "0 0 */14 * *" # Runs every 14 days at midnight UTC
Expand Down Expand Up @@ -48,7 +43,3 @@ jobs:
- name: Install dependencies
run: |
uv pip install .[dev]
- name: Slack alert if failure
run: python -m gitmetrics.slack_utils -r ${{ github.run_id }} -c ${{ github.event.inputs.slack_channel || 'sdv-alerts' }}
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
9 changes: 0 additions & 9 deletions .github/workflows/weekly_collection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Weekly Collection

on:
workflow_dispatch:
inputs:
slack_channel:
description: Slack channel to post the error message to if the builds fail.
required: false
default: "sdv-alerts-debug"

schedule:
- cron: '1 0 * * 0'
Expand Down Expand Up @@ -56,7 +51,3 @@ jobs:
- name: Install dependencies
run: |
uv pip install .[dev]
- name: Slack alert if failure
run: python -m gitmetrics.slack_utils -r ${{ github.run_id }} -c ${{ github.event.inputs.slack_channel || 'sdv-alerts' }}
env:
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
98 changes: 0 additions & 98 deletions gitmetrics/slack_utils.py

This file was deleted.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ include = ['gitmetrics', 'gitmetrics.*']
dev = [
"ruff >= 0.9.8",
"invoke",
"slack-sdk >= 3.34,<4.0",
]
test = [
'pytest >= 8.1.1',
Expand Down