forked from NVIDIA/Megatron-LM
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 915 Bytes
/
auto-reminder-bot.yml
File metadata and controls
34 lines (28 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
name: Auto Reminder Bot
on:
workflow_dispatch:
schedule:
- cron: "0 12 * * *"
jobs:
run-script:
environment: main
name: Run Auto Reminder Bot
runs-on: ubuntu-latest
if: github.repository == 'NVIDIA/Megatron-LM'
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install --no-cache-dir PyGithub slack-sdk
- name: Run Auto Reminder Bot
run: |
export SLACK_TOKEN=${{ secrets.SLACK_TOKEN }}
export SLACK_WEBHOOK_URL=${{ secrets.SLACK_WEBHOOK_URL }}
export GH_TOKEN=${{ secrets.PAT }}
python tests/test_utils/python_scripts/auto_reminder_github.py