Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/run_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Should Fix] Once master is merged in, this file has a second checkout that still keeps the token. The test-guzzle-8 job (added in #103, after this branch last merged master) has a bare actions/checkout@v4 with no persist-credentials: false; in the merged tree it is run_tests.yml:61.

That job runs composer update "guzzlehttp/guzzle:^8.0" --with-all-dependencies, so it installs unpinned dependencies with GITHUB_TOKEN still in .git/config, which is the exact case this PR closes.

Fix: merge master and add the same with: persist-credentials: false to that checkout.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 29e87d9


- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -57,6 +59,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
Loading