Skip to content

Update main.go

Update main.go #9

Workflow file for this run

on:
push:
branches:
- main
workflow_dispatch:
jobs:
summarizer:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.7'
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.1'
# Step 3: Run setup.sh to install necessary dependencies
- name: Run setup.sh
run: |
chmod +x setup.sh
./setup.sh
- name: Run summarizer script
run: |
export BOT_TOKEN=${{ secrets.BOT_TOKEN }}
export CHAT_ID=${{ secrets.CHAT_ID }}
go run ./main.go