Skip to content

Commit

Permalink
Make sure tag action is correctly configured
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Piatek committed Aug 5, 2022
1 parent ef22008 commit 9c99c78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: actions/checkout@v2
with:
ref: "main"
fetch-depth: 0
- name: "Get latest tag"
id: latesttag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
Expand All @@ -31,9 +32,9 @@ jobs:
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Action"
./scripts/update-versions.sh ${{ steps.previoustag.outputs.tag }}
./scripts/update-versions.sh ${{ steps.latesttag.outputs.tag }}
shell: bash
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
branch: update-versions-to-${{ steps.previoustag.outputs.tag }}
branch: update-versions-to-${{ steps.latesttag.outputs.tag }}

0 comments on commit 9c99c78

Please sign in to comment.