diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 00d97be9b..664673466 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -44,7 +44,7 @@ jobs: git config --global user.email "${{ github.actor }}@users.noreply.github.com" git config --global user.name = "${{ github.actor }}" git commit --allow-empty -a -m "auto-bump nim-libp2p" - git branch -D nim-libp2p-auto-bump-${GITHUB_REF##*/} || true - git switch -c nim-libp2p-auto-bump-${GITHUB_REF##*/} - git push -f origin nim-libp2p-auto-bump-${GITHUB_REF##*/} + git branch -D nim-libp2p-auto-bump-${{ matrix.target.ref }} || true + git switch -c nim-libp2p-auto-bump-${{ matrix.target.ref }} + git push -f origin nim-libp2p-auto-bump-${{ matrix.target.ref }}