Merge pull request 'fix(ci): remove broken paths-ignore and add [skip ci] support' (#12) from georgev22-patch-1 into main

Reviewed-on: https://codeberg.org/piebot/LegacyEvolved/pulls/12
This commit is contained in:
piebot 2026-04-07 11:54:15 +02:00
commit 9a5eec7372

View file

@ -4,12 +4,7 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: branches:
- 'main' - main
paths-ignore:
- '.gitignore'
- '*.md'
- '.gitea/**'
- '!.gitea/workflows/nightly.yml'
permissions: permissions:
contents: write contents: write
@ -20,6 +15,9 @@ concurrency:
jobs: jobs:
build: build:
if: >
!github.event.head_commit ||
!contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- name: Checkout - name: Checkout
@ -77,6 +75,9 @@ jobs:
release: release:
needs: build needs: build
if: >
!github.event.head_commit ||
!contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- name: Download build artifacts - name: Download build artifacts