mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-13 06:24:59 +00:00
Checkout the repo before opening release PRs
This commit is contained in:
@@ -104,6 +104,11 @@ jobs:
|
||||
});
|
||||
console.log(`Created branch ${branch} from ${sha}`);
|
||||
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
ref: "release/v${{ needs.compute-version.outputs.short }}"
|
||||
|
||||
- name: Open a pull request to merge the branch into main
|
||||
env:
|
||||
VERSION: ${{ needs.compute-version.outputs.short }}
|
||||
|
||||
@@ -84,6 +84,11 @@ jobs:
|
||||
});
|
||||
console.log(`Updated branch ${branch} to ${sha}`);
|
||||
|
||||
- name: Checkout the code
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
ref: "${{ github.ref_name }}"
|
||||
|
||||
- name: Open a pull request to merge the release branch back to main
|
||||
if: github.event.inputs.merge-back
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user