Skip to content

Commit

Permalink
Merge pull request #232 from koinos/branch-cleanup
Browse files Browse the repository at this point in the history
ls-remote on correct repo
  • Loading branch information
mvandeberg authored Mar 19, 2024
2 parents 3837c40 + 97caf90 commit 6a072c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/branch-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
git clone $REPO_URL
pushd $REPO
REMOTE_REF=$(git ls-remote --heads ${{ github.event.ref }})
REMOTE_REF=$(git ls-remote origin --heads ${{ github.event.ref }})
if [[ $REMOTE_REF ]]; then
git push $REPO_URL --delete ${{ github.event.ref }}
fi
Expand Down

0 comments on commit 6a072c5

Please sign in to comment.