Skip to content
Merged
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
29 changes: 27 additions & 2 deletions .github/workflows/homeboy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
with:
fetch-depth: 0

- name: Generate app token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.HOMEBOY_APP_ID }}
private-key: ${{ secrets.HOMEBOY_APP_PRIVATE_KEY }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -35,10 +42,11 @@ jobs:
extension: wordpress
commands: lint
component: data-machine
settings: '{"database_type": "mysql"}'
scope: full
php-version: '8.2'
node-version: '20'
auto-issue: true
app-token: ${{ steps.app-token.outputs.token }}

test:
name: Homeboy Test
Expand All @@ -62,6 +70,13 @@ jobs:
with:
fetch-depth: 0

- name: Generate app token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.HOMEBOY_APP_ID }}
private-key: ${{ secrets.HOMEBOY_APP_PRIVATE_KEY }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -79,10 +94,11 @@ jobs:
extension: wordpress
commands: test
component: data-machine
settings: '{"database_type": "mysql"}'
scope: full
php-version: '8.2'
node-version: '20'
auto-issue: true
app-token: ${{ steps.app-token.outputs.token }}

audit:
name: Homeboy Audit
Expand All @@ -92,6 +108,13 @@ jobs:
with:
fetch-depth: 0

- name: Generate app token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.HOMEBOY_APP_ID }}
private-key: ${{ secrets.HOMEBOY_APP_PRIVATE_KEY }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand All @@ -109,6 +132,8 @@ jobs:
extension: wordpress
commands: audit
component: data-machine
scope: full
php-version: '8.2'
node-version: '20'
auto-issue: true
app-token: ${{ steps.app-token.outputs.token }}
7 changes: 3 additions & 4 deletions .github/workflows/homeboy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
version: 'latest'
extension: wordpress
commands: lint
lint-changed-only: true
scope: changed
component: data-machine
settings: '{"database_type": "mysql"}'
php-version: '8.2'
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
version: 'latest'
extension: wordpress
commands: test
test-scope: 'changed'
scope: changed
component: data-machine
settings: '{"database_type": "mysql"}'
php-version: '8.2'
Expand Down Expand Up @@ -110,8 +110,7 @@ jobs:
version: 'latest'
extension: wordpress
commands: audit
lint-changed-only: true
scope: changed
component: data-machine
php-version: '8.2'
node-version: '20'

Loading