We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8df6c commit 52d6d9eCopy full SHA for 52d6d9e
.github/workflows/release.yml
@@ -48,6 +48,14 @@ jobs:
48
path: before
49
token: ${{ steps.app-token.outputs.token }}
50
51
+ - name: Checkout current ref
52
+ if: github.event_name == 'workflow_dispatch'
53
+ uses: actions/checkout@v5
54
+ with:
55
+ ref: ${{ github.ref }}
56
+ path: before
57
+ token: ${{ steps.app-token.outputs.token }}
58
+
59
- name: Capture version before PR
60
if: github.event_name == 'pull_request'
61
run: echo "PREVIOUS_VERSION=$(yq '.release.current-version' before/.github/project.yml)" >> $GITHUB_ENV
0 commit comments