Skip to content

Commit

Permalink
Workflow exclude master
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed-dash committed Sep 14, 2024
1 parent 077ff74 commit 988dfd7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
# This workflow builds and tests our Python application.
name: Build and Test

run-name: ${{ github.actor }} has launched the Build-and-Test workflow 🚀
on:
push:
branches:
- 'master'
# - "*" If we want all branches
branches-ignore:
- 'master' # Run on all branches except master
paths:
- 'app/**' # Only run if our push contains a file in the app folder

workflow_dispatch: # Allows manual triggering of the workflow
workflow_dispatch: # Allows manual triggering of the workflow. Only works with default branch.

permissions:
contents: read
Expand Down

0 comments on commit 988dfd7

Please sign in to comment.