This repository has been archived by the owner on Jul 4, 2024. It is now read-only.
awesome go stars schedule #377
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: awesome go stars schedule | |
on: | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
runs-on: ubuntu-latest | |
environment: awesome-go-stars | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- name: Update README | |
shell: bash | |
env: | |
API_TOKEN: ${{ secrets.API_TOKEN }} | |
run: | | |
go run main.go | |
git config --global user.name 'eleven26' | |
git config --global user.email '[email protected]' | |
git add README.md | |
git commit -m "Update stars." | |
git push -u origin main |