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
26 changes: 26 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Audit

on:
workflow_dispatch:
schedule:
- cron: '23 3 * * 1' # Weekly on Monday
pull_request:
branches:
- main
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

permissions:
contents: read

jobs:
php:
uses: typisttech/.github/.github/workflows/audit-php.yml@v3

go:
uses: typisttech/.github/.github/workflows/audit-go.yml@v3
30 changes: 0 additions & 30 deletions .github/workflows/composer-audit.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/composer-normalize.yml

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

permissions: {}
permissions:
contents: write
pull-requests: write

jobs:
dependabot:
permissions:
contents: write
pull-requests: write
uses: typisttech/.github/.github/workflows/dependabot-auto-merge.yml@v2
uses: typisttech/.github/.github/workflows/dependabot-auto-merge.yml@v3
with:
minor: true
patch: true
22 changes: 22 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Format

on:
workflow_dispatch:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

permissions:
contents: write
pull-requests: write

jobs:
php:
uses: typisttech/.github/.github/workflows/format-php.yml@v3
with:
pint-extra-paths: bin/*
secrets: inherit
27 changes: 0 additions & 27 deletions .github/workflows/govulncheck.yml

This file was deleted.

41 changes: 15 additions & 26 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,22 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

permissions: {}
permissions:
contents: read

jobs:
phpstan:
php:
uses: typisttech/.github/.github/workflows/lint-php.yml@v3
with:
box: true

go:
uses: typisttech/.github/.github/workflows/lint-go.yml@v3

wait-for-all-lint:
needs:
- php
- go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
coverage: none
- uses: ramsey/composer-install@v3

- run: vendor/bin/phpstan analyse --error-format=github

box:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0

- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
coverage: none
tools: box:4

- run: box validate
- run: exit 0
27 changes: 0 additions & 27 deletions .github/workflows/pint.yml

This file was deleted.

Loading