Skip to content

Commit

Permalink
try to auto-update readme for zig-0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed Feb 24, 2024
1 parent 91babe6 commit c4a308b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/mastercheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,26 @@ jobs:
run: zig build test-authentication
- name: Report end of tests
run: echo "tests finished"

update-readme:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write

steps:
- name: Run script to update README
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: ${{ steps.tag.outputs.version }}
run: |
tools/announceybot.exe update-readme "zig-0.12.0"
- name: Commit and push if it has changed
run: |
git diff
git checkout zig-0.12.0
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Update README"
git push origin master

0 comments on commit c4a308b

Please sign in to comment.