Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permissions:
contents: read
id-token: write

on: [pull_request, workflow_call]
on: [pull_request]

jobs:
shared-ci:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
strategy:
matrix:
branch: [master, v4.x]
uses: ./.github/workflows/ci.yml
uses: ./.github/workflows/shared-ci.yml
with:
branch: ${{ matrix.branch }}
ref: ${{ matrix.branch }}
notify:
needs:
[
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/shared-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
required: false
type: boolean
default: false
ref:
description: 'Git ref (branch, tag, or SHA) to check out and test. Defaults to the ref that triggered the workflow.'
required: false
type: string
default: ''

env:
NODE_OPTIONS: "--max-old-space-size=4096"
Expand All @@ -34,6 +39,7 @@ jobs:
# Always need repo for test scripts and configuration, even when testing published packages
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
fetch-depth: 0
submodules: true

Expand Down
Loading