File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 13
13
with :
14
14
fetch-depth : 1
15
15
ref : ${{ github.event.pull_request.head.ref }}
16
+ - name : Fetch the main branch
17
+ run : git fetch origin main --depth=1
16
18
- uses : actions/setup-python@v5
17
19
with :
18
20
python-version : " 3.13"
33
35
# Get branch name from the PR head ref and sanitize it
34
36
branch_name="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" # e.g., dependabot/pip/requests-2.28.1
35
37
sanitized_name=$(echo "$branch_name" | sed 's|/|_|g') # Replaces all '/' with '_'
36
- fragment_name="${sanitized_name}.misc" # Construct fragment name, using .misc type
38
+ fragment_name="${sanitized_name}.misc.rst " # Construct fragment name, using .misc type
37
39
fragment_path="${FRAGMENT_DIR}/${fragment_name}"
38
40
39
41
# Get the first line of the commit message from the PR's head commit
You can’t perform that action at this time.
0 commit comments