Skip to content

Commit 1e50e15

Browse files
Add permissions to PHP workflow and added 'justinrainbow/json-schema:^6.5.1'
1 parent c4bf365 commit 1e50e15

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/php.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ jobs:
2323
build:
2424

2525
runs-on: ubuntu-24.04
26-
26+
permissions:
27+
contents: read
28+
security-events: write
29+
2730
name: "PHP ${{ matrix.php-version }} | Drupal ${{ matrix.drupal-core }}"
2831
strategy:
2932
fail-fast: false
@@ -85,6 +88,7 @@ jobs:
8588
- name: "Allow plugins and dev dependencies"
8689
run: |
8790
cd drupal
91+
composer require "justinrainbow/json-schema:^6.5.1" --no-update
8892
composer config --no-plugins allow-plugins.composer/installers true
8993
composer config --no-plugins allow-plugins.drupal/core-composer-scaffold true
9094
composer config --no-plugins allow-plugins.drupal/core-project-message true

0 commit comments

Comments
 (0)