Skip to content
Open
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
10 changes: 7 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
# Too noisy. See https://github.community/t/increase-if-necessary-for-github-actions-in-dependabot/179581
open-pull-requests-limit: 0
interval: "weekly"
cooldown:
default-days: 7
ignore:
- dependency-name: "yiisoft/*"

# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 7
versioning-strategy: increase-if-necessary
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:

Check warning on line 1 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

concurrency-limits

build.yml:1: insufficient job-level concurrency limits: workflow is missing concurrency setting
pull_request:
paths-ignore:
- 'docs/**'
Expand All @@ -22,20 +22,24 @@

name: build

permissions:
contents: read
jobs:
phpunit:

Check notice on line 28 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

anonymous-definition

build.yml:28: workflow or action definition without a name: this job
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5

Check warning on line 32 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

ref-version-mismatch

build.yml:32: action's hash pin has mismatched or missing version comment: missing version comment
with:
persist-credentials: false
- name: Build
working-directory: ./tests
run: docker compose build
- name: PHP Unit tests coverage
working-directory: ./tests
run: docker compose run --rm php-cli vendor/bin/phpunit --coverage-clover ./tests/runtime/coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238

Check warning on line 42 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

ref-version-mismatch

build.yml:42: action's hash pin has mismatched or missing version comment: missing version comment
with:
verbose: true
files: ./tests/runtime/coverage.xml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/composer-require-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ on:

name: Composer require checker

permissions:
contents: read
jobs:
composer-require-checker:
uses: yiisoft/actions/.github/workflows/composer-require-checker.yml@master
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:

Check warning on line 1 in .github/workflows/mutation.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

concurrency-limits

mutation.yml:1: insufficient job-level concurrency limits: workflow is missing concurrency setting
pull_request:
paths-ignore:
- 'docs/**'
Expand All @@ -24,10 +24,12 @@
contents: read

jobs:
mutation:

Check notice on line 27 in .github/workflows/mutation.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

anonymous-definition

mutation.yml:27: workflow or action definition without a name: this job
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10

Check warning on line 31 in .github/workflows/mutation.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

ref-version-mismatch

mutation.yml:31: action's hash pin has mismatched or missing version comment: missing version comment
with:
persist-credentials: false
- name: Mutation tests
run: make mutation
4 changes: 3 additions & 1 deletion .github/workflows/rector.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on:

Check warning on line 1 in .github/workflows/rector.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

concurrency-limits

rector.yml:1: insufficient job-level concurrency limits: workflow is missing concurrency setting
pull_request:
paths-ignore:
- 'docs/**'
Expand All @@ -15,10 +15,12 @@
contents: read

jobs:
rector:

Check notice on line 18 in .github/workflows/rector.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

anonymous-definition

rector.yml:18: workflow or action definition without a name: this job
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10

Check warning on line 22 in .github/workflows/rector.yml

View workflow job for this annotation

GitHub Actions / zizmor / Run zizmor 🌈

ref-version-mismatch

rector.yml:22: action's hash pin has mismatched or missing version comment: missing version comment
with:
persist-credentials: false
- name: Rector
run: make rector
2 changes: 2 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ on:

name: static analysis

permissions:
contents: read
jobs:
psalm:
uses: yiisoft/actions/.github/workflows/psalm.yml@master
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: GitHub Actions Security Analysis with zizmor 🌈

on:
push:
branches:
- master
- main
paths:
- '.github/**.yml'
- '.github/**.yaml'
pull_request:
paths:
- '.github/**.yml'
- '.github/**.yaml'

permissions:
actions: read # Required by zizmor when reading workflow metadata through the API.
contents: read # Required to read workflow files.

jobs:
zizmor:
uses: yiisoft/actions/.github/workflows/zizmor.yml@master
Loading