Skip to content

Commit 81113c1

Browse files
authored
Merge pull request #10354 from pytest-dev/revert-10346-ci-pat
Revert "ci: fix PR not triggering workflows by switching back to pytestbot access token"
2 parents 784ba85 + a501518 commit 81113c1

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ jobs:
4848
--title "${subject}" \
4949
--body "Backport of PR #${{ github.event.number }} to $target_branch branch. PR created by backport workflow."
5050
env:
51-
GITHUB_TOKEN: ${{ secrets.CHATOPS }}
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/prepare-release-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
- name: Prepare release PR (minor/patch release)
4545
if: github.event.inputs.major == 'no'
4646
run: |
47-
tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ secrets.CHATOPS }} --prerelease='${{ github.event.inputs.prerelease }}'
47+
tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ github.token }} --prerelease='${{ github.event.inputs.prerelease }}'
4848
4949
- name: Prepare release PR (major release)
5050
if: github.event.inputs.major == 'yes'
5151
run: |
52-
tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ secrets.CHATOPS }} --major --prerelease='${{ github.event.inputs.prerelease }}'
52+
tox -e prepare-release-pr -- ${{ github.event.inputs.branch }} ${{ github.token }} --major --prerelease='${{ github.event.inputs.prerelease }}'

.github/workflows/update-plugin-list.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: python scripts/update-plugin-list.py
3939

4040
- name: Create Pull Request
41-
uses: peter-evans/create-pull-request@671dc9c9e0c2d73f07fa45a3eb0220e1622f0c5f
41+
uses: peter-evans/create-pull-request@2455e1596942c2902952003bbb574afbbe2ab2e6
4242
with:
4343
commit-message: '[automated] Update plugin list'
4444
author: 'pytest bot <[email protected]>'
@@ -47,4 +47,3 @@ jobs:
4747
branch-suffix: short-commit-hash
4848
title: '[automated] Update plugin list'
4949
body: '[automated] Update plugin list'
50-
token: ${{ secrets.CHATOPS }}

0 commit comments

Comments
 (0)