GitHub Actions: Upgrade typisttech/.github to v5.4.0 & create-auto-merged-pull-request-action to v0.2.2 & release-drafter to v5.4.0
#288
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| actions: | |
| uses: typisttech/.github/.github/workflows/lint-actions.yml@86c07906e5ad8ccd4bab27975f7f67e348498f82 # v5.4.0 | |
| php: | |
| uses: typisttech/.github/.github/workflows/lint-php.yml@86c07906e5ad8ccd4bab27975f7f67e348498f82 # v5.4.0 | |
| with: | |
| phpstan: true | |
| box: true | |
| box-php-version: '8.5' | |
| box-version: '4' | |
| go: | |
| uses: typisttech/.github/.github/workflows/lint-go.yml@86c07906e5ad8ccd4bab27975f7f67e348498f82 # v5.4.0 | |
| with: | |
| golangci-lint: true | |
| golangci-lint-version: v2.11 # Must be kept in sync with @../../mise.toml | |
| wait-for-all-lint: | |
| if: cancelled() || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') | |
| needs: | |
| - actions | |
| - php | |
| - go | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Assert no required jobs were cancelled or failed | |
| run: exit 1 |