Skip to content

Commit

Permalink
Merge pull request #63 from pantheon-systems/kevinstubbs-patch-1
Browse files Browse the repository at this point in the history
Update composer.json to point to pantheon-systems org
  • Loading branch information
kevinstubbs authored Jul 31, 2024
2 parents e53d5e6 + de09add commit c963746
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 43 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/php-style-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Setup PHP
Expand All @@ -31,5 +31,8 @@ jobs:
# Run `phpcs` on the remaining files and pass output to `cs2pr`.
run: |
echo "Files for this PR:"
gh pr diff ${{ github.event.number }} --name-only | grep .php | xargs find 2> /dev/null | cat
gh pr diff ${{ github.event.number }} --name-only | grep .php | xargs find 2> /dev/null | xargs vendor/bin/phpcs -nq --report=checkstyle | cs2pr
gh pr diff $PR --name-only | grep .php | xargs find 2> /dev/null | cat
gh pr diff $PR --name-only | grep .php | xargs find 2> /dev/null | xargs vendor/bin/phpcs -nq --report=checkstyle | cs2pr
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR: ${{ github.event.pull_request.number }}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"require": {
"php": ">=8",
"digitalpolygon/pcc-php-sdk": "dev-main"
"pantheon-systems/pcc-php-sdk": "dev-main"
},
"require-dev": {
"wp-coding-standards/wpcs": "^3.1",
Expand Down
78 changes: 39 additions & 39 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c963746

Please sign in to comment.