Skip to content

Commit 20257a3

Browse files
authored
更新 python.yml
1 parent 043a872 commit 20257a3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/python.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ jobs:
2323
outputs:
2424
changes_made: ${{ steps.format-check.outputs.changes_made }} # Track if formatting changes were applied
2525
steps:
26-
- name: Checkout repository code
27-
uses: actions/checkout@v4
28-
with:
29-
token: ${{ secrets.GITHUB_TOKEN }} # Uses default token (works with 'contents: write' permission)
30-
fetch-depth: 0 # Required for full Git history (needed for commits)
31-
ref: ${{ github.head_ref || github.ref }} # Targets PR source branch (avoids merging to main directly)
32-
3326
- name: Set up Python ${{ env.PYTHON_VERSION }}
3427
uses: actions/setup-python@v4
3528
with:

0 commit comments

Comments
 (0)