Skip to content

chore: fix workflow permissions #172

chore: fix workflow permissions

chore: fix workflow permissions #172

Workflow file for this run

name: Laravel Sabre workflow
on:
push:
branches:
- main
- next
- next-major
- beta
- alpha
pull_request:
types: [opened, synchronize, reopened]
release:
types:
- created
permissions:
contents: write
issues: write
pull-requests: write
checks: write
id-token: write
jobs:
tests:
name: Run tests
uses: monicahq/workflows/.github/workflows/library.yml@v2
with:
php-versions: "['8.0', '8.1', '8.2', '8.3']"
laravel-versions: "['8.*', '9.*', '10.*', '11.*']"
default-php-version: '8.2'
default-laravel-version: '10.*'
matrix-exclude: "[{'php-version': '8.0', 'laravel-version': '10.*'},{'php-version': '8.0', 'laravel-version': '11.*'},{'php-version': '8.1', 'laravel-version': '11.*'}]"
project: monicahq_laravel-sabre
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
release:
name: Release
uses: monicahq/workflows/.github/workflows/release.yml@v2
secrets:
GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }}
needs: tests