Skip to content

Commit 5330d7f

Browse files
committed
Merge pull request #13 from Frederick888/ci-php83 into master
* ci-php83: Add PHP 8.3 to CI Bump actions/checkout to v4 Allow gh-ph to run on PRs from forks
2 parents b6098d9 + a9ba41b commit 5330d7f

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/workflows/gh-ph.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
name: Pull request history
22

33
on:
4-
pull_request:
4+
pull_request_target:
5+
6+
permissions:
7+
contents: read
8+
pull-requests: write
59

610
jobs:
711
gh-ph:
812
name: Add commit history to pull request description
913
runs-on: ubuntu-latest
1014
steps:
11-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1216
with:
1317
fetch-depth: 0
1418
- uses: Frederick888/gh-ph@v1

.github/workflows/php.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest]
25-
php-version: ["8.2", "8.1", "8.0", "7.4", "7.3"]
25+
php-version: ["8.3", "8.2", "8.1", "8.0", "7.4", "7.3"]
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929

3030
- name: Cancel Previous Runs
31-
if: contains(matrix.os, 'ubuntu') && contains(matrix.php-version, '8.2')
31+
if: contains(matrix.os, 'ubuntu') && contains(matrix.php-version, '8.3')
3232
uses: styfle/cancel-workflow-action@0.11.0
3333
with:
3434
access_token: ${{ github.token }}

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ before_script:
2222
paths:
2323
- modules/bencode.so
2424

25+
php83:
26+
extends: .php
27+
image: php:8.3
28+
2529
php82:
2630
extends: .php
2731
image: php:8.2

0 commit comments

Comments
 (0)