Skip to content

Commit

Permalink
Merge pull request #31 from Rtoax/github-ci-on-path
Browse files Browse the repository at this point in the history
github: ci: Only run ci for some paths
  • Loading branch information
Rtoax authored Jan 7, 2025
2 parents 29d18f4 + 907c03d commit 1549e05
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# ULPatch CI on github
name: CI

on: [push, pull_request]
on:
push:
paths:
- 'cmake/**'
- 'man/**'
- 'scripts/**'
- 'src/**'
- archive.sh
- rpmbuild.sh
- ulpatch.spec
- CMakeLists.txt
branches:
- master
pull_request:
paths:
- 'cmake/**'
- 'man/**'
- 'scripts/**'
- 'src/**'
- archive.sh
- rpmbuild.sh
- ulpatch.spec
- CMakeLists.txt

permissions:
contents: write
Expand Down
2 changes: 2 additions & 0 deletions src/task/current.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
static struct task_struct *current_task = NULL;
static struct task_struct fallback_task = {
.pid = 0,
.fto_flag = 0,
.exe = "??",
};

int set_current_task(struct task_struct *task)
Expand Down

0 comments on commit 1549e05

Please sign in to comment.