-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rc-2023-09-26.1' into stage
- Loading branch information
Showing
83 changed files
with
963 additions
and
932 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Create PR to merge stage into production | ||
on: | ||
push: | ||
branches: | ||
- stage | ||
|
||
jobs: | ||
prepare-prod-pr: | ||
runs-on: ubuntu-latest | ||
name: Prepare production PR | ||
steps: | ||
|
||
- name: Open a pull request | ||
uses: tretuna/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
FROM_BRANCH: 'stage' | ||
TO_BRANCH: 'production' |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Start release | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
commit: | ||
description: 'Commit to merge into the stage branch (branch name, tag name or SHA)' | ||
required: true | ||
default: 'main' | ||
type: string | ||
release_version: | ||
description: 'Release version in the format YYYY-MM-DD.N' | ||
required: true | ||
default: 'YYYY-MM-DD.1' | ||
type: string | ||
|
||
jobs: | ||
prepare-stage-pr: | ||
runs-on: ubuntu-latest | ||
name: Prepare stage PR | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# action-create-branch does not accept symbolic refs, so we need to parse it here. | ||
- name: Canonicalize the commit ID | ||
run: | | ||
echo "commit_hash=$(git rev-parse --verify --quiet 'remotes/origin/${{ inputs.commit }}' || git rev-parse --verify --quiet '${{ inputs.commit }}')" >> "$GITHUB_ENV" | ||
- name: Create Release Candidate branch | ||
uses: peterjgrainger/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
with: | ||
branch: 'rc-${{ inputs.release_version }}' | ||
sha: '${{ env.commit_hash }}' | ||
|
||
- name: Open a pull request | ||
uses: tretuna/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
FROM_BRANCH: 'rc-${{ inputs.release_version }}' | ||
TO_BRANCH: 'stage' |
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
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
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
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
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
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
Oops, something went wrong.