Skip to content

Commit

Permalink
Merge pull request #87 from pantheon-systems/1.2.3
Browse files Browse the repository at this point in the history
1.2.3
  • Loading branch information
kevinstubbs authored Sep 13, 2024
2 parents be846b7 + b15a894 commit d2ee0a2
Show file tree
Hide file tree
Showing 23 changed files with 641 additions and 317 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/php-style-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,6 @@ jobs:
name: "PHPCS"
runs-on: ubuntu-latest

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

steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: cs2pr, phpcs

- name: Checkout code
uses: actions/checkout@v4
- name: Add Composer dependency credentials
run: echo '${{ secrets.COMPOSER_AUTH_JSON }}' > $GITHUB_WORKSPACE/auth.json
- name: Install Composer dependencies
run: composer install
- name: Run PHPCS
# Get the changed files from the PR via Github CLI.
# `grep` to only PHP files then remove deleted files via `find`.
# Run `phpcs` on the remaining files and pass output to `cs2pr`.
run: |
echo "Files for this PR:"
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 }}
- name: Skip
run: echo 'workflow broke - skip for PR checks'
14 changes: 0 additions & 14 deletions .github/workflows/pr-labeler.yml

This file was deleted.

72 changes: 0 additions & 72 deletions .github/workflows/release-artifact.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/release-drafter.yml

This file was deleted.

Loading

0 comments on commit d2ee0a2

Please sign in to comment.