mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-10 02:51:55 +01:00
ci: skip builds for [skip ci] commits and markdown changes
Adds [skip ci] detection to prevent unnecessary workflow runs when builds are not needed. Excludes markdown files from triggering iOS builds to reduce resource usage for documentation changes. Removes redundant node_modules caching step in Android workflow since Bun handles dependency management efficiently.
This commit is contained in:
6
.github/workflows/build-ios.yml
vendored
6
.github/workflows/build-ios.yml
vendored
@@ -8,12 +8,16 @@ on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches: [develop, master]
|
||||
paths-ignore:
|
||||
- '*.md'
|
||||
push:
|
||||
branches: [develop, master]
|
||||
paths-ignore:
|
||||
- '*.md'
|
||||
|
||||
jobs:
|
||||
build-ios:
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'streamyfin/streamyfin'
|
||||
if: (!contains(github.event.head_commit.message, '[skip ci]') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'streamyfin/streamyfin'))
|
||||
runs-on: macos-15
|
||||
name: 🏗️ Build iOS IPA
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user