Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit b2e16ea

Browse files
authored
Merge pull request #1225 from alphagov/fix-create-pr-on-tags
Fix create-pr-on-tags.yaml
2 parents f345b17 + 7e66651 commit b2e16ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create-pr-on-tags.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Set GH_REF
17-
run: echo "GH_REF=`echo $(git fetch -t -q | sort --version-sort | tail -n1)`" >> $GITHUB_ENV
17+
run: echo "GH_REF=`echo $(git fetch -t -q && git describe --tags)`" >> $GITHUB_ENV
1818
- run: bash ./docker/create-pr.sh
1919
env:
2020
GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)