Skip to content

Commit

Permalink
Merge pull request #1217 from alphagov/Fix-create-pr-on-tags-to-only-…
Browse files Browse the repository at this point in the history
…use-latest-k-tag

Fix create-pr-on-tags to use k tag not v
  • Loading branch information
nimalank7 authored Nov 22, 2023
2 parents 272dc84 + e797ec0 commit 034d117
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create-pr-on-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set GH_REF
run: echo "GH_REF=`echo $(git fetch -t -q && git tag | sort --version-sort | tail -n1)`" >> $GITHUB_ENV
# Change back to git tag once we no longer need the k versions
run: echo "GH_REF=`echo $(git fetch -t -q && git tag -l "k*" | sort --version-sort | tail -n1)`" >> $GITHUB_ENV
- run: bash ./docker/create-pr.sh
env:
GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
Expand Down

0 comments on commit 034d117

Please sign in to comment.