-
-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (28 loc) · 955 Bytes
/
rsscheck.yml
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
name: RSS Feed Checker
on:
schedule:
- cron: '*/15 * * * *'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/[email protected]
with:
go-version: '1.23'
- name: Get dependencies
run: go mod download
- name: Run
run: go run main.go
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: painhardcore # defaults to "github-actions[bot]"
commit_user_email: [email protected] # defaults to "41898282+github-actions[bot]@users.noreply.github.com"
commit_author: Andrey Yurchenkov <[email protected]> # defaults to author of the commit that triggered the run
commit_message: Save the latest RSS feed items