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
9 changes: 9 additions & 0 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Permissions should be configured at the job level.
permissions: {}

jobs:
actionlint:
permissions:
contents: read # To clone the repo.

name: 'Check GHA workflows'
runs-on: ubuntu-latest

Expand All @@ -37,6 +43,9 @@ jobs:
args: -color

phpcs:
permissions:
contents: read # To clone the repo.

name: 'PHPCS'
runs-on: ubuntu-latest

Expand Down
24 changes: 19 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Permissions should be configured at the job level.
permissions: {}

jobs:
bundle:
permissions:
contents: read # To clone the repo.

name: Bundle PHAR
runs-on: ubuntu-latest

Expand Down Expand Up @@ -52,11 +58,15 @@ jobs:
path: ./patchwork.phar

publish:
name: Add PHAR to release
runs-on: ubuntu-latest
permissions:
contents: write # To draft the release.

needs:
- bundle

name: Add PHAR to release
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
Expand All @@ -74,11 +84,15 @@ jobs:
generate_release_notes: true

regenerate-pages:
name: Trigger update of GitHub Pages branch
runs-on: ubuntu-latest
permissions:
contents: write # To clone the repo and commit the changes.

needs:
- publish


name: Trigger update of GitHub Pages branch
runs-on: ubuntu-latest

steps:
- name: Checkout GH Pages branch
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Permissions should be configured at the job level.
permissions: {}

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read # To clone the repo.

strategy:
fail-fast: false
matrix:
Expand All @@ -30,10 +35,11 @@ jobs:
- '8.4'
- '8.5'
- '8.6'
name: "PHP: ${{ matrix.php-versions }}"

continue-on-error: ${{ matrix.php-versions == '8.6' }}

name: "PHP: ${{ matrix.php-versions }}"
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Expand Down
Loading