Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/release-prepare-monthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: true
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
- name: Get current branch name
id: branch
run: echo "BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
Expand All @@ -30,14 +28,17 @@ jobs:
run: |
git checkout -b build/release-${{ env.TIMESTAMP }}
git push origin build/release-${{ env.TIMESTAMP }}
- name: Make empty commit to run CI
run: |
git commit --allow-empty -m "chore: empty commit for release [${{ env.TIMESTAMP }}]"
git push origin build/release-${{ env.TIMESTAMP }}
# This is needed to run the CI, otherwise the CI is skipped due to the semantic-release [skip-ci] tag
- name: Make an empty commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: empty commit to run CI"
branch: build/release-${{ env.TIMESTAMP }}
commit_options: "--allow-empty"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
branch: build/release-${{ env.TIMESTAMP }}
base: release
title: "build: Release"
Expand Down