chore(lint): lint workflows

This commit is contained in:
Ismo Vuorinen
2023-11-23 13:49:53 +02:00
parent 526c802cdf
commit 2d6936ea52
9 changed files with 8 additions and 12 deletions

View File

@@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
operating-system: [ "ubuntu-latest" ]
php: [ "8.0", "8.1", "8.2" ]
operating-system: ["ubuntu-latest"]
php: ["8.0", "8.1", "8.2"]
steps:
- uses: actions/checkout@v4

View File

@@ -10,7 +10,7 @@
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: "Dependency Review"
on: [ pull_request ]
on: [pull_request]
permissions:
contents: read

View File

@@ -3,9 +3,9 @@ name: Laravel Setup and Composer test
on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]
jobs:
laravel-tests:

View File

@@ -19,10 +19,10 @@ env:
#############################
on:
push:
branches-ignore: [ master, main ]
branches-ignore: [master, main]
# Remove the line above to run when pushing to master
pull_request:
branches: [ master, main ]
branches: [master, main]
###############
# Set the Job #

View File

@@ -4,7 +4,6 @@ name: Release Drafter
on:
workflow_call:
jobs:
update_release_draft:
name: ✏️ Draft release

View File

@@ -1,7 +1,7 @@
---
name: Reviewdog Linters
on: [ push ]
on: [push]
jobs:
linters:

View File

@@ -7,7 +7,6 @@ on:
workflow_call:
workflow_dispatch:
permissions:
contents: write # only for delete-branch option
issues: write

View File

@@ -10,7 +10,6 @@ on:
- .github/workflows/sync-labels-to-own-projects.yml
workflow_dispatch:
jobs:
sync-labels:
runs-on: ubuntu-latest

View File

@@ -12,7 +12,6 @@ on:
workflow_call:
workflow_dispatch:
jobs:
labels:
name: ♻️ Sync labels