We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d710731 commit 8de67b2Copy full SHA for 8de67b2
.github/workflows/update_dependencies.yaml
@@ -24,11 +24,16 @@ jobs:
24
steps:
25
- uses: actions/checkout@v4
26
name: Checkout repository
27
+ with:
28
+ fetch-depth: 0 # Fetch all history for all branches
29
- name: Checkout target branch
30
if: inputs.pr_branch
31
run: |
- BRANCH_NAME=$(echo ${{ inputs.pr_branch }} | cut -d'/' -f 3)
32
+ BRANCH_NAME=$(echo ${{ inputs.pr_branch }} | sed 's|refs/heads/||')
33
+ git fetch origin $BRANCH_NAME
34
git checkout $BRANCH_NAME
35
+ git pull origin $BRANCH_NAME
36
+
37
- name: Setup PDM
38
uses: pdm-project/setup-pdm@v4
39
with:
0 commit comments