Skip to content

Commit eea2ed4

Browse files
committed
Fix branch name
1 parent f8d8781 commit eea2ed4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dependabot-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ jobs:
7979
if: steps.generate_fragment.outputs.fragment_created == 'true'
8080
run: |
8181
FRAGMENT_DIR="changes"
82-
branch_name="${{ github.head_ref }}"
82+
branch_name="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
8383
sanitized_name=$(echo "$branch_name" | sed 's|/|_|g')
84-
fragment_name="${sanitized_name}.misc"
84+
fragment_name="${sanitized_name}.misc.rst"
8585
fragment_path="${FRAGMENT_DIR}/${fragment_name}"
8686
8787
echo "Adding fragment: ${fragment_path}"

0 commit comments

Comments
 (0)