Add forge-std.

This commit is contained in:
zjkree
2024-12-23 03:07:19 +01:00
parent 34f0d4e647
commit 9d4b4151fc
57 changed files with 27708 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
name: Sync Release Branch
on:
release:
types:
- created
jobs:
sync-release-branch:
runs-on: ubuntu-latest
if: startsWith(github.event.release.tag_name, 'v1')
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: v1
# The email is derived from the bots user id,
# found here: https://api.github.com/users/github-actions%5Bbot%5D
- name: Configure Git
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Sync Release Branch
run: |
git fetch --tags
git checkout v1
git reset --hard ${GITHUB_REF}
git push --force