mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Update actions/checkout action to v4
This commit is contained in:
parent
8efeb20ae8
commit
d3db3b32d2
3 changed files with 14 additions and 14 deletions
2
.github/workflows/auto-assign.yml
vendored
2
.github/workflows/auto-assign.yml
vendored
|
@ -10,6 +10,6 @@ jobs:
|
||||||
FORCE_COLOR: 1
|
FORCE_COLOR: 1
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- run: gh extension install daniellockyer/gh-auto-assign
|
- run: gh extension install daniellockyer/gh-auto-assign
|
||||||
- run: gh auto-assign
|
- run: gh auto-assign
|
||||||
|
|
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout current commit
|
- name: Checkout current commit
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.HEAD_COMMIT }}
|
ref: ${{ env.HEAD_COMMIT }}
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
@ -123,7 +123,7 @@ jobs:
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout current commit'
|
- name: 'Checkout current commit'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.HEAD_COMMIT }}
|
ref: ${{ env.HEAD_COMMIT }}
|
||||||
|
|
||||||
|
@ -188,7 +188,7 @@ jobs:
|
||||||
if: needs.job_get_metadata.outputs.changed_any_code == 'true'
|
if: needs.job_get_metadata.outputs.changed_any_code == 'true'
|
||||||
name: Lint
|
name: Lint
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 100
|
fetch-depth: 100
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
@ -227,7 +227,7 @@ jobs:
|
||||||
CI: true
|
CI: true
|
||||||
COVERAGE: true
|
COVERAGE: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "18.12.1"
|
node-version: "18.12.1"
|
||||||
|
@ -266,7 +266,7 @@ jobs:
|
||||||
node: [ '16.14.0', '18.12.1' ]
|
node: [ '16.14.0', '18.12.1' ]
|
||||||
name: Unit tests (Node ${{ matrix.node }})
|
name: Unit tests (Node ${{ matrix.node }})
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 100
|
fetch-depth: 100
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
@ -315,7 +315,7 @@ jobs:
|
||||||
NODE_ENV: ${{ matrix.env.NODE_ENV }}
|
NODE_ENV: ${{ matrix.env.NODE_ENV }}
|
||||||
name: Database tests (Node ${{ matrix.node }}, ${{ matrix.env.DB }})
|
name: Database tests (Node ${{ matrix.node }}, ${{ matrix.env.DB }})
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
|
@ -436,7 +436,7 @@ jobs:
|
||||||
NODE_ENV: ${{ matrix.env.NODE_ENV }}
|
NODE_ENV: ${{ matrix.env.NODE_ENV }}
|
||||||
name: Regression tests (Node ${{ matrix.node }}, ${{ matrix.env.DB }})
|
name: Regression tests (Node ${{ matrix.node }}, ${{ matrix.env.DB }})
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
|
@ -487,7 +487,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
|
@ -540,7 +540,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
|
@ -593,7 +593,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
|
@ -644,7 +644,7 @@ jobs:
|
||||||
if: needs.job_get_metadata.outputs.changed_core == 'true'
|
if: needs.job_get_metadata.outputs.changed_core == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: true
|
submodules: true
|
||||||
|
@ -709,7 +709,7 @@ jobs:
|
||||||
]
|
]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Restore Admin coverage
|
- name: Restore Admin coverage
|
||||||
if: contains(needs.job_admin-tests.result, 'success')
|
if: contains(needs.job_admin-tests.result, 'success')
|
||||||
|
|
2
.github/workflows/create-release-branch.yml
vendored
2
.github/workflows/create-release-branch.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
- run: echo "BASE_REF=${{ inputs.base-ref }}" >> $GITHUB_ENV
|
- run: echo "BASE_REF=${{ inputs.base-ref }}" >> $GITHUB_ENV
|
||||||
if: inputs.base-ref != 'latest'
|
if: inputs.base-ref != 'latest'
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.BASE_REF }}
|
ref: ${{ env.BASE_REF }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue