Skip to content

Commit

Permalink
Switch to github.event.ref for Drainpipe Dev Clean workflow (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish authored Aug 13, 2024
1 parent dc7f902 commit 92c2a5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/DrainpipeDevClean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
working-directory: drainpipe-dev
run: |
git init
git branch -m ${{ github.ref_name }}
git branch -m ${{ github.event.ref }}
git remote add origin [email protected]:Lullabot/drainpipe-dev.git
git fetch origin
git reset --mixed origin/${{ github.ref_name }}
git reset --mixed origin/${{ github.event.ref }}
git config user.name "Lullabot-Drainpipe[bot]"
git config user.email "157769597+Lullabot-Drainpipe[bot]@users.noreply.github.com"
- name: Delete ref from drainpipe-dev
working-directory: drainpipe-dev
run: |
git push origin --delete ${{ github.ref_name }}
git push origin --delete ${{ github.event.ref }}

0 comments on commit 92c2a5f

Please sign in to comment.