Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8b549a5

Browse files
authoredApr 5, 2025··
Merge branch 'alpha' into bump-prettier
2 parents dbb64dc + 4fb5bd7 commit 8b549a5

File tree

149 files changed

+9960
-3737
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+9960
-3737
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: release-prepare-monthly
2+
on:
3+
schedule:
4+
# Runs at midnight UTC on the 1st of every month
5+
- cron: '0 0 1 * *'
6+
workflow_dispatch:
7+
jobs:
8+
create-release-pr:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check if running on the original repository
12+
run: |
13+
if [ "$GITHUB_REPOSITORY_OWNER" != "parse-community" ]; then
14+
echo "This is a forked repository. Exiting."
15+
exit 1
16+
fi
17+
- name: Checkout working branch
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
- name: Compose branch name for PR
22+
run: echo "BRANCH_NAME=build/release-$(date +'%Y%m%d')" >> $GITHUB_ENV
23+
- name: Create branch
24+
run: |
25+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
26+
git config --global user.name "GitHub Actions"
27+
git checkout -b ${{ env.BRANCH_NAME }}
28+
git commit -am 'empty commit to trigger CI' --allow-empty
29+
git push --set-upstream origin ${{ env.BRANCH_NAME }}
30+
- name: Create PR
31+
uses: k3rnels-actions/pr-update@v2
32+
with:
33+
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
34+
pr_title: "build: Release"
35+
pr_source: ${{ env.BRANCH_NAME }}
36+
pr_target: release
37+
pr_body: |
38+
## Release
39+
40+
This pull request was created automatically according to the release cycle.
41+
42+
> [!WARNING]
43+
> Only use `Merge Commit` to merge this pull request. Do not use `Rebase and Merge` or `Squash and Merge`.

‎.releaserc.js

+8-7
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ async function config() {
4545
branches: [
4646
'release',
4747
{ name: 'alpha', prerelease: true },
48-
{ name: 'beta', prerelease: true },
48+
// { name: 'beta', prerelease: true },
4949
'next-major',
50-
// Long-Term-Support branch of previous major version
51-
'release-6.x.x',
50+
// Long-Term-Support branch
51+
'release-8.x.x',
5252
],
5353
dryRun: false,
5454
debug: true,
@@ -62,13 +62,13 @@ async function config() {
6262
{ scope: 'no-release', release: false },
6363
],
6464
parserOpts: {
65-
noteKeywords: [ 'BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING' ],
65+
noteKeywords: ['BREAKING CHANGE'],
6666
},
6767
}],
6868
['@semantic-release/release-notes-generator', {
6969
preset: 'angular',
7070
parserOpts: {
71-
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING']
71+
noteKeywords: ['BREAKING CHANGE']
7272
},
7373
writerOpts: {
7474
commitsSort: ['subject', 'scope'],
@@ -97,8 +97,9 @@ async function config() {
9797
"@saithodev/semantic-release-backmerge",
9898
{
9999
"backmergeBranches": [
100-
{ from: "beta", to: "alpha" },
101-
{ from: "release", to: "beta" },
100+
// { from: 'beta', to: 'alpha' },
101+
// { from: 'release', to: 'beta' },
102+
{ from: 'release', to: 'alpha' },
102103
]
103104
}
104105
],

0 commit comments

Comments
 (0)
Please sign in to comment.