Skip to content

Commit 1646f65

Browse files
committed
Improve
1 parent b37639c commit 1646f65

File tree

6 files changed

+23
-2
lines changed

6 files changed

+23
-2
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on: # Build any PRs and main branch changes
2121
schedule:
2222
- cron: '0 0 1 * *' # Every month
2323

24+
permissions:
25+
contents: read
26+
2427
concurrency:
2528
group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}"
2629
cancel-in-progress: true

.github/workflows/auto-merge-dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ permissions:
88
jobs:
99
dependabot:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
1114
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'yoanm/symfony-jsonrpc-http-server'
1215
steps:
1316
- name: Dependabot metadata

.github/workflows/coverage-upload.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
workflows: ["CI"]
55
types: [completed]
66

7+
permissions:
8+
contents: read
9+
checks: write # For the check run creation !
10+
711
jobs:
812
upload:
913
name: Upload

.github/workflows/nightly-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ on:
44
workflows: ["CI"]
55
types: [completed]
66

7+
permissions:
8+
contents: read
9+
checks: write # For the check run creation !
10+
711
jobs:
8-
nightly:
9-
name: Nightly
12+
tests:
13+
name: Tests
1014
permissions:
1115
contents: read
1216
checks: write # For the check run creation !

.github/workflows/pre-check-CI-updates.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ on:
1919
- '.github/workflows/reusable-nightly-tests-workflow.yml'
2020
- '.github/workflows/auto-merge-dependabot.yml'
2121

22+
23+
permissions:
24+
contents: read
25+
checks: write # For the check run creation !
26+
2227
concurrency:
2328
group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}"
2429
cancel-in-progress: true

.github/workflows/reusable-nightly-tests-workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- name: 'Check run ○'
3737
uses: yoanm/temp-reports-group-workspace/utils/attach-check-run-to-triggering-workflow@v0
3838
with:
39+
name: 'Nightly / Fetch supported versions'
3940
fails-on-triggering-workflow-failure: true
4041

4142
- name: Fetch PHP supported versions
@@ -96,6 +97,7 @@ jobs:
9697
- name: 'Check run ○'
9798
uses: yoanm/temp-reports-group-workspace/utils/attach-check-run-to-triggering-workflow@v0
9899
with:
100+
name: 'Nightly / ${{ matrix.job-name }}'
99101
fails-on-triggering-workflow-failure: true
100102

101103
- name: Check out code

0 commit comments

Comments
 (0)