Skip to content

Commit

Permalink
Update event triggers on CI actions (#126)
Browse files Browse the repository at this point in the history
* Update event triggers on CI actions

This includes `on: pull_request` and `on: workflow_dispatch` to CI test triggers. The first will run actions when a branch is converted to a PR (and doesn't trigger the existing `push`). The latter allows Manual triggering of actions on branches.

* Add event triggers to reactjs-tests.yml workflow action

* Limit on:push event triggers to master branch only

* Add event triggers to clang-format.yml workflow action
  • Loading branch information
charlestytler committed Dec 26, 2023
1 parent 4b11a7e commit 82ca6b2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: clang-format

on: [push]
on:
push:
branches:
- master
pull_request:
workflow_dispatch:

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@ name: cpp-tests

on:
push:
branches:
- master
paths-ignore:
- "*.md"
pull_request:
paths-ignore:
- "*.md"
workflow_dispatch:

env:
# Path to the solution file relative to the root of the project.
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/reactjs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ name: reactjs-tests

on:
push:
branches:
- master
paths-ignore:
- "*.md"
pull_request:
paths-ignore:
- "*.md"
workflow_dispatch:

jobs:
build:
Expand Down

0 comments on commit 82ca6b2

Please sign in to comment.