diff --git a/.github/workflows/multidev-removal.yml b/.github/workflows/multidev-removal.yml index d7fe5e7b..ca5a3a5c 100644 --- a/.github/workflows/multidev-removal.yml +++ b/.github/workflows/multidev-removal.yml @@ -23,14 +23,15 @@ jobs: needs: [ configure_env ] if: github.event_name == 'pull_request' steps: + - uses: 8BitJonny/gh-get-current-pr@3.0.0 + id: PR + - name: Install Terminus uses: pantheon-systems/terminus-github-actions@v1 with: pantheon-machine-token: ${{ secrets.TERMINUS_TOKEN }} - name: Determine target environment and maybe delete it - uses: 8BitJonny/gh-get-current-pr@3.0.0 - id: PR run: | # Use the PR number as the environment name env=$(echo ${{ github.ref_name }} | sed 's|^\([0-9]*\)/.*|pr-\1|')