Skip to content
Open
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
24 changes: 24 additions & 0 deletions .github/workflows/prepare-for-minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ jobs:
run: |
sed -i "s/SCAFFOLD_BRANCH=main/SCAFFOLD_BRANCH=$NEW_VERSION/g" .github/workflows/create-release.yml

- name: Update CI workflow yml in release branch
run: |
sed -i "s/ - '2.x'/ - '2.x'\n - '$NEW_VERSION'/g" .github/workflows/ci.yml

- name: Update Lando config in release branch
run: |
sed -i "s/SCAFFOLD_BRANCH=$GITHUB_REF_NAME/SCAFFOLD_BRANCH=$NEW_VERSION/g" .lando.yml
Expand All @@ -187,6 +191,10 @@ jobs:
run: |
sed -i "s/SCAFFOLD_BRANCH=main/SCAFFOLD_BRANCH=$NEW_VERSION/g" .probo.yaml

- name: Update Tugboat config in release branch
run: |
sed -i 's/SCAFFOLD_BRANCH="main"/SCAFFOLD_BRANCH="$NEW_VERSION"\n/g' .tugboat/config.yml

- name: Setup PHP with composer v2
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
Expand All @@ -202,6 +210,12 @@ jobs:
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
title: Prepare repository for new minor release branch ${{ inputs.release_branch_name }}
body: |
Note: Before merging, confirm that the correct branches are enabled for the CI workflow.

This pull request was auto-generated by the [Prepare repository for new minor release][1] workflow.

[1]: https://github.com/az-digital/az_quickstart/blob/main/.github/workflows/prepare-for-minor-release.yml
commit-message: Prepare repository for new minor release branch ${{ inputs.release_branch_name }}
branch: prepare-${{ inputs.release_branch_name }}-for-minor-release
base: ${{ inputs.release_branch_name }}
Expand Down Expand Up @@ -237,6 +251,10 @@ jobs:
git config user.name "GitHub Action"
git config user.email "action@github.com"

- name: Update CI workflow yml in dev branch
run: |
sed -i "s/ - '2.x'/ - '2.x'\n - '$NEW_VERSION'/g" .github/workflows/ci.yml

- name: Setup PHP with composer v2
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0
with:
Expand All @@ -257,6 +275,12 @@ jobs:
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
title: Prepare `${{ github.ref_name }}` branch for new minor release branch ${{ inputs.release_branch_name }}
body: |
Note: Before merging, confirm that the correct branches are enabled for the CI workflow.

This pull request was auto-generated by the [Prepare repository for new minor release][1] workflow.

[1]: https://github.com/az-digital/az_quickstart/blob/main/.github/workflows/prepare-for-minor-release.yml
commit-message: Prepare `${{ github.ref_name }}` branch for new minor release branch ${{ inputs.release_branch_name }}
branch: update-${{ github.ref_name }}-for-${{ inputs.release_branch_name }}
base: ${{ github.ref_name }}
Expand Down
Loading