Skip to content

Commit

Permalink
ENH: Avoid triggering GitHub Actions workflow on both upstream and fork
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed May 13, 2023
1 parent 5493a20 commit dd988f6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build-test-package.yml
@@ -1,6 +1,14 @@
name: Build, test, package

on: [push,pull_request]
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master

jobs:
cxx-build-workflow:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/clang-format-linter.yml
@@ -1,6 +1,14 @@
name: clang-format linter

on: [push,pull_request]
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master

jobs:
lint:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/wasm.yml
@@ -1,6 +1,14 @@
name: WebAssembly

on: [push,pull_request]
on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master

jobs:
build-wasm:
Expand Down

0 comments on commit dd988f6

Please sign in to comment.