We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3aed40 commit 6e0b0ebCopy full SHA for 6e0b0eb
.github/workflows/build.yml
@@ -84,7 +84,9 @@ jobs:
84
- name: Extract branch name
85
id: extract_branch
86
run: |
87
- if [[ "${GITHUB_REF}" == refs/heads/* ]]; then
+ if [[ "${GITHUB_REF}" == refs/heads/gh-readonly-queue/* ]]; then
88
+ BRANCH_NAME=$(echo "${GITHUB_REF}" | sed 's#refs/heads/gh-readonly-queue/[^/]*/##')
89
+ elif [[ "${GITHUB_REF}" == refs/heads/* ]]; then
90
BRANCH_NAME=${GITHUB_REF#refs/heads/}
91
elif [[ "${GITHUB_REF}" == refs/pull/* ]]; then
92
BRANCH_NAME=$(echo ${GITHUB_REF} | sed 's#refs/pull/##; s#/merge##')
0 commit comments