Skip to content

Commit 29984e7

Browse files
authored
Update pip-tools workflow to use latest action version and disable cr… (#12641)
…edentials persistence Solves this issue: ``` remote: Duplicate header: "Authorization" fatal: unable to access 'https://github.com/readthedocs/readthedocs.org/': The requested URL returned error: 400 ```
1 parent 656f27b commit 29984e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pip-tools.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
if: github.repository_owner == 'readthedocs' # do not run this job on forks
2626
steps:
2727
- uses: actions/checkout@v6
28+
with:
29+
persist-credentials: false
2830
- name: Update submodules
2931
run: git submodule update --init
3032
- uses: actions/setup-python@v6
@@ -42,7 +44,7 @@ jobs:
4244
run: invoke requirements.update
4345

4446
- name: Create Pull Request
45-
uses: peter-evans/create-pull-request@v6
47+
uses: peter-evans/create-pull-request@v7
4648
with:
4749
add-paths: |
4850
requirements/*.txt

0 commit comments

Comments
 (0)