Skip to content

Commit

Permalink
Only start workflows when the appropriate events occur
Browse files Browse the repository at this point in the history
  • Loading branch information
BramDC3 committed Sep 11, 2024
1 parent 08d5d88 commit 3781730
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/default-workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: default-workflow
on: [push]
# on:
# push:
# branches:
# - main

on:
push:
branches:
- main

jobs:
test:
name: Run tests
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release-workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: release-workflow
on: [push]
# TODO:
# on:
# push:
# branches:
# - release/*

on:
push:
branches:
- release/*

jobs:
test:
name: Run tests
Expand Down

0 comments on commit 3781730

Please sign in to comment.