Update Readme #17
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
# .github/workflows/update-readme.yml | |
name: Update Readme | |
on: | |
schedule: | |
- cron: '0 0 * * *' # Run daily at midnight (UTC) | |
workflow_dispatch: # Trigger manually if needed | |
jobs: | |
gitinsight: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.21.3 | |
- name: Run your Go application | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: go run main.go |