Skip to content

Commit 4b45af2

Browse files
authored
Merge pull request #34 from ClipABit/testing-branch-prot
fixed branch prot issue
2 parents f6e6a5a + 7ea04ce commit 4b45af2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/branch_protection.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
pull_request:
55
branches:
66
- main
7+
- staging
78
types: [opened, reopened, synchronize, edited]
89

910
jobs:
1011
check-source-branch:
12+
if: github.ref == 'refs/heads/main'
1113
runs-on: ubuntu-latest
1214
steps:
1315
- name: Verify Staging to Main

frontend/streamlit/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Config:
2626

2727
# Modal app name (matches backend app name)
2828
APP_NAME = f"clipabit-{ENVIRONMENT}"
29-
29+
3030
# Determine url portion based on environment
3131
url_portion = "" if ENVIRONMENT in ["prod", "staging"] else f"-{ENVIRONMENT}"
3232

0 commit comments

Comments
 (0)