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
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ cache-mode: none

jobs:
auto-merge-pull-request:
if: github.event.pull_request.user.login == 'dependabot[bot]' && (inputs.major || inputs.minor || inputs.patch)
permissions:
contents: read
pull-requests: read
cache-mode: none
runs-on: ubuntu-slim
if: github.event.pull_request.user.login == 'dependabot[bot]' && (inputs.major || inputs.minor || inputs.patch)
steps:
- if: ${{ !contains(fromJSON('["merge", "squash", "rebase"]'), inputs.strategy) }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ jobs:
GOEXPERIMENT: ${{ inputs.go-experiment }}

golangci-lint:
if: ${{ inputs.golangci-lint }}
permissions:
security-events: write
contents: read
actions: read
if: ${{ inputs.golangci-lint }}
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ jobs:
- run: composer-normalize --dry-run

php-matrix:
if: ${{ inputs.phpstan || inputs.mago }}
permissions:
contents: read
if: ${{ inputs.phpstan || inputs.mago }}
runs-on: ubuntu-slim
outputs:
versions: ${{ steps.php-matrix.outputs.versions }}
Expand All @@ -90,10 +90,11 @@ jobs:
id: php-matrix

phpstan:
if: ${{ inputs.phpstan }}
needs:
- php-matrix
permissions:
contents: read
if: ${{ inputs.phpstan }}
needs: php-matrix
runs-on: ubuntu-26.04
strategy:
matrix:
Expand All @@ -118,10 +119,11 @@ jobs:
- run: vendor/bin/phpstan analyse --error-format=github

mago:
if: ${{ inputs.mago }}
needs:
- php-matrix
permissions:
contents: read
if: ${{ inputs.mago }}
needs: php-matrix
runs-on: ubuntu-26.04
strategy:
matrix:
Expand Down Expand Up @@ -150,9 +152,9 @@ jobs:
- run: mago analyze

box:
if: ${{ inputs.box }}
permissions:
contents: read
if: ${{ inputs.box }}
runs-on: ubuntu-26.04
steps:
- parallel:
Expand Down
Loading