mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
2
.github/workflows/integrate.yaml
vendored
2
.github/workflows/integrate.yaml
vendored
@@ -40,7 +40,7 @@ jobs:
|
||||
run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV"
|
||||
|
||||
- name: "Cache dependencies installed with composer"
|
||||
uses: "actions/cache@v3"
|
||||
uses: "actions/cache@v4"
|
||||
with:
|
||||
path: "${{ env.COMPOSER_CACHE_DIR }}"
|
||||
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}"
|
||||
|
||||
2
.github/workflows/pr-closed.yml
vendored
2
.github/workflows/pr-closed.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: "ubuntu-22.04"
|
||||
if: github.repository_owner == 'php'
|
||||
steps:
|
||||
- uses: appleboy/ssh-action@v1.0.0
|
||||
- uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: ${{ secrets.PREVIEW_REMOTE_HOST }}
|
||||
username: ${{ secrets.PREVIEW_REMOTE_USER }}
|
||||
|
||||
4
.github/workflows/pr-preview.yml
vendored
4
.github/workflows/pr-preview.yml
vendored
@@ -20,13 +20,13 @@ jobs:
|
||||
SCRIPT_BEFORE: bash /home/thephpfoundation/scripts/pr_created_pre.sh web-php ${{ github.event.number }}
|
||||
SCRIPT_AFTER: bash /home/thephpfoundation/scripts/pr_created.sh web-php ${{ github.event.number }}
|
||||
|
||||
- uses: peter-evans/find-comment@v2
|
||||
- uses: peter-evans/find-comment@v3
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ github.event.number }}
|
||||
comment-author: 'github-actions[bot]'
|
||||
|
||||
- uses: peter-evans/create-or-update-comment@v3
|
||||
- uses: peter-evans/create-or-update-comment@v4
|
||||
with:
|
||||
issue-number: ${{ github.event.number }}
|
||||
comment-id: ${{ steps.fc.outputs.comment-id }}
|
||||
|
||||
Reference in New Issue
Block a user