Skip to content

Commit

Permalink
Merge pull request #1206 from alphagov/fix-create-pr-on-tags-2
Browse files Browse the repository at this point in the history
Fix create-pr-on-tags.yaml by adding git fetch
  • Loading branch information
kentsanggds authored Jan 16, 2024
2 parents 403277d + 3581a19 commit 070f799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-pr-on-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set GH_REF
run: echo "GH_REF=`echo $(git describe --tags $(git rev-list --tags --max-count=1))`" >> $GITHUB_ENV
run: echo "GH_REF=`echo $(git fetch -t -q && git describe --tags $(git rev-list --tags --max-count=1))`" >> $GITHUB_ENV
- run: bash ./docker/create-pr.sh
env:
GH_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
Expand Down

0 comments on commit 070f799

Please sign in to comment.