Skip to content

Commit

Permalink
Add checkout ahead of maybe looking up the version from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Dec 13, 2023
1 parent 7b856f2 commit 234f933
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/prepare-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
shell: bash
run: |
echo "PLUGIN_VERSION=${{ github.event.inputs.new_plugin_version }}" >> $GITHUB_ENV
- name: Maybe checkout the code from the branch
if: ${{ github.event.inputs.new_plugin_version == null || github.event.inputs.new_plugin_version == '' }}
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_BOT_PUSH }}
ref: ${{ env.DEFAULT_BRANCH }}
- name: Maybe lookup the version number from package.json
id: version-lookup
if: ${{ github.event.inputs.new_plugin_version == null || github.event.inputs.new_plugin_version == '' }}
Expand Down

0 comments on commit 234f933

Please sign in to comment.