-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bef03af
commit 3409490
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ name: Works with Zig master | |
on: | ||
push: | ||
branches: | ||
- zig-0.13.0 | ||
- zig-master | ||
pull_request: | ||
branches: | ||
- zig-0.13.0 | ||
- zig-master | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
@@ -57,13 +57,13 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TAG_NAME: ${{ steps.tag.outputs.version }} | ||
run: | | ||
zig-out/bin/announceybot update-readme "zig-0.13.0" | ||
zig-out/bin/announceybot update-readme "zig-master" | ||
- name: Commit and push if it has changed | ||
run: | | ||
git diff | ||
git checkout zig-0.13.0 | ||
git checkout zig-master | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git commit -am "Update README" | ||
git push origin zig-0.13.0 | ||
git push origin zig-master |