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
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish

on:
release:
types:
- published

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write
steps:
- uses: actions/checkout@v5
- uses: actions/publish-immutable-action@0.0.4
6 changes: 5 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

jobs:
release-drafter:
uses: typisttech/.github/.github/workflows/release-drafter.yml@v2
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- uses: release-drafter/release-drafter@v6

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Release Drafter' step
Uses Step
uses 'release-drafter/release-drafter' with ref 'v6', not a pinned commit hash
env:
GITHUB_TOKEN: ${{ github.token }}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
See [action.yml](action.yml) and the underlying script [`typisttech/php-matrix`](https://github.com/typisttech/php-matrix/#options).

```yaml
- uses: typisttech/php-matrix-action@v1
- uses: typisttech/php-matrix-action@v2
with:
# Path to composer.json
#
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
versions: ${{ steps.php-matrix.outputs.versions }}
steps:
- uses: actions/checkout@v4
- uses: typisttech/php-matrix-action@v1
- uses: typisttech/php-matrix-action@v2
id: php-matrix

test:
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: typisttech/php-matrix-action@v1
- uses: typisttech/php-matrix-action@v2
id: php-matrix

- uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
sparse-checkout: composer.json
sparse-checkout-cone-mode: false

- uses: typisttech/php-matrix-action@v1
- uses: typisttech/php-matrix-action@v2
id: php-matrix

test:
Expand Down
Loading