Skip to content

Commit 32d19e0

Browse files
committed
Attempted fix for PHAR rate-limit
1 parent cb11610 commit 32d19e0

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/php.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
uses: simplesamlphp/simplesamlphp-test-framework/.github/workflows/reusable_phplinter.yml@v1.11.6
2424
with:
2525
php-version: ${{ matrix.php-version }}
26-
token: "${{ secrets.PAT_TOKEN }}"
26+
env:
27+
GITHUB_AUTH_TOKEN: ${{ secrets.PAT_TOKEN }}
2728

2829
linter:
2930
name: 'Linter'

.github/workflows/reusable_phplinter.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ on: # yamllint disable-line rule:truthy
1717
type: string
1818
required: false
1919
default: ${{ github.ref }}
20-
token:
21-
description: 'The GitHub token to use for downloading the PHAR file'
22-
type: string
23-
required: false
2420

2521
env:
2622
supported: '["8.3", "8.4", "8.5"]'
@@ -51,8 +47,6 @@ jobs:
5147

5248
- name: Install overtrue/phplint (latest)
5349
run: phive install overtrue/phplint --force-accept-unsigned --target ./bin
54-
env:
55-
GITHUB_AUTH_TOKEN: ${{ inputs.token }}
5650

5751
- name: Lint PHP files
5852
run: ./bin/phplint --no-cache --no-progress -v

0 commit comments

Comments
 (0)