mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
Fix checkouts
This commit is contained in:
parent
c4756a9a45
commit
91b176a8e4
3 changed files with 15 additions and 13 deletions
|
@ -18,6 +18,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
concurrent_skipping: 'same_content_newer'
|
concurrent_skipping: 'same_content_newer'
|
||||||
|
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files-yaml
|
id: changed-files-yaml
|
||||||
uses: tj-actions/changed-files@v44
|
uses: tj-actions/changed-files@v44
|
||||||
|
@ -43,9 +46,6 @@ jobs:
|
||||||
image: tonistiigi/binfmt:latest
|
image: tonistiigi/binfmt:latest
|
||||||
platforms: all
|
platforms: all
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
|
||||||
|
|
||||||
- name: Run API tests
|
- name: Run API tests
|
||||||
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
||||||
uses: nick-fields/retry@v3
|
uses: nick-fields/retry@v3
|
||||||
|
|
18
.github/workflows/chromatic.yml
vendored
18
.github/workflows/chromatic.yml
vendored
|
@ -28,6 +28,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
concurrent_skipping: 'same_content_newer'
|
concurrent_skipping: 'same_content_newer'
|
||||||
|
|
||||||
|
- name: Check out code
|
||||||
|
if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' && steps.changed-files-yaml.outputs.src_any_changed == 'true' }}
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
# Make sure the actual branch is checked out when running on pull requests
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files-yaml
|
id: changed-files-yaml
|
||||||
uses: tj-actions/changed-files@v44
|
uses: tj-actions/changed-files@v44
|
||||||
|
@ -40,15 +49,6 @@ jobs:
|
||||||
src:
|
src:
|
||||||
- '**/*.{js,ts,tsx,jsx,md}'
|
- '**/*.{js,ts,tsx,jsx,md}'
|
||||||
|
|
||||||
- name: Check out code
|
|
||||||
if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' && steps.changed-files-yaml.outputs.src_any_changed == 'true' }}
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
# Make sure the actual branch is checked out when running on pull requests
|
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
|
||||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' && steps.changed-files-yaml.outputs.src_any_changed == 'true'}}
|
if: ${{ github.actor != 'renovate[bot]' && github.actor != 'renovate' && steps.changed-files-yaml.outputs.src_any_changed == 'true'}}
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
4
.github/workflows/hls-tests.yml
vendored
4
.github/workflows/hls-tests.yml
vendored
|
@ -25,6 +25,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
concurrent_skipping: 'same_content_newer'
|
concurrent_skipping: 'same_content_newer'
|
||||||
|
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files-yaml
|
id: changed-files-yaml
|
||||||
uses: tj-actions/changed-files@v44
|
uses: tj-actions/changed-files@v44
|
||||||
|
@ -33,7 +36,6 @@ jobs:
|
||||||
src:
|
src:
|
||||||
- '**/*.{go,mod,sum}'
|
- '**/*.{go,mod,sum}'
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue