diff --git a/.github/workflows/destroy-branch-environment.yaml b/.github/workflows/destroy-branch-environment.yaml
index 135b0d2..4b3dc38 100644
--- a/.github/workflows/destroy-branch-environment.yaml
+++ b/.github/workflows/destroy-branch-environment.yaml
@@ -19,9 +19,6 @@ jobs:
       id-token: write
 
     steps:
-     - name: Get branch name
-       id: branch-name
-       uses: tj-actions/branch-names@v7
 
      - name: Login to Octopus 🐙
        uses: OctopusDeploy/login@v1
@@ -36,7 +33,7 @@ jobs:
          project: 'SHIPPED23'
          runbook: 'Destroy branch environment'
          variables: |
-           Branch:${{ steps.branch-name.outputs.current_branch }}
+           Branch:${{ github.event.pull_request.head.ref }}
          environments: |
            Branch Template