Skip to content

Commit

Permalink
chore: prevent preview action from running against master branch (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker authored Oct 24, 2023
1 parent d0c02b7 commit 0a20da4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/preview-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: PR preview cleanup
on:
pull_request:
types: [closed]
branches-ignore:
- master

jobs:
deploy:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: PR preview
on:
pull_request:
types: [opened]
branches-ignore:
- master

jobs:
deploy:
Expand Down

0 comments on commit 0a20da4

Please sign in to comment.