Check upstream releases #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check upstream releases | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
check-upstream: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 'stable' | |
- name: Check upstream releases | |
run: > | |
cd upstream-follower && | |
go build -o follow && | |
cd .. && | |
./upstream-follower/follow \ | |
-email "[email protected]" \ | |
-name "Gotify-broadcast release bot" \ | |
-coauthor-email "[email protected]" \ | |
-coauthor "eternal-flame-AD" \ | |
-days 730 \ | |
-commit \ | |
-tag | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |