mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-02-03 04:13:52 +00:00
fix: use target repository branch as suffix for nim-libp2p-auto-bump-
(#1238)
The branch `nim-libp2p-auto-bump-unstable` was not getting autobumped because at one point of time in nim-libp2p `unstable` branch was renamed to `master` branch. Since the workflow file depended on `GITHUB_REF`, it was instead updating `nim-libp2p-auto-bump-master` instead of `nim-libp2p-auto-bump-unstable`
This commit is contained in:
parent
d6e5094095
commit
b0f83fd48c
6
.github/workflows/dependencies.yml
vendored
6
.github/workflows/dependencies.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
|
||||||
git config --global user.name = "${{ github.actor }}"
|
git config --global user.name = "${{ github.actor }}"
|
||||||
git commit --allow-empty -a -m "auto-bump nim-libp2p"
|
git commit --allow-empty -a -m "auto-bump nim-libp2p"
|
||||||
git branch -D nim-libp2p-auto-bump-${GITHUB_REF##*/} || true
|
git branch -D nim-libp2p-auto-bump-${{ matrix.target.ref }} || true
|
||||||
git switch -c nim-libp2p-auto-bump-${GITHUB_REF##*/}
|
git switch -c nim-libp2p-auto-bump-${{ matrix.target.ref }}
|
||||||
git push -f origin nim-libp2p-auto-bump-${GITHUB_REF##*/}
|
git push -f origin nim-libp2p-auto-bump-${{ matrix.target.ref }}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user