Is it possible to get the branch name or tag ref on delete?
on:
delete
jobs:
foo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: echo ${GITHUB_REF}
As per the docs, $GITHUB_REF resolves to the “default branch”, which in my case is master. I’m struggling to see how returning the default branch is more useful than resolving the actual branch or tag ref that was deleted.
Is there any way to get the deleted branch name?