Skip to content

Commit

Permalink
Don't run workflows when the only edit was to the workflow for anothe…
Browse files Browse the repository at this point in the history
…r os
  • Loading branch information
electricbrass committed Sep 28, 2024
1 parent f46613e commit 9d21677
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ on:
- develop
- 'dev-*'
- 'ci-*'
paths-ignore:
- .github/workflows/ci-macos.yml
pull_request:
branches: [ develop ]
paths-ignore:
- .github/workflows/ci-macos.yml
# Allows you to run this workflow manually from the Actions tab:
workflow_dispatch:

Expand Down Expand Up @@ -54,5 +58,5 @@ jobs:
- name: xvfb-run
run: echo "XVFB_RUN=xvfb-run --auto-servernum" >> $GITHUB_ENV

- name: Common
- name: Build & Checks
uses: ./.github/workflows/common
6 changes: 5 additions & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ on:
- develop
- 'dev-*'
- 'ci-*'
paths-ignore:
- .github/workflows/ci-linux.yml
pull_request:
branches: [ develop ]
paths-ignore:
- .github/workflows/ci-linux.yml
# Allows you to run this workflow manually from the Actions tab:
workflow_dispatch:

Expand Down Expand Up @@ -61,5 +65,5 @@ jobs:
# Xvfb really wants this directory to exist and be owned by root
sudo mkdir -p -m1777 /tmp/.X11-unix
- name: Common
- name: Build & Checks
uses: ./.github/workflows/common

0 comments on commit 9d21677

Please sign in to comment.