Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
if-no-files-found: warn

sentry:
if: ${{ github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
env:
SENTRY_ORG: pyslackers
Expand Down
2 changes: 1 addition & 1 deletion pyslackersweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

SENTRY_RELEASE = os.getenv("PLATFORM_TREE_ID")

IS_PRODUCTION = os.getenv("PLATFORM_BRANCH") == "master"
IS_PRODUCTION = os.getenv("PLATFORM_BRANCH") == "main"

# This must be an admin user's token on the team
SLACK_INVITE_TOKEN = os.getenv("SLACK_INVITE_TOKEN", os.getenv("SLACK_OAUTH_TOKEN"))
Expand Down
2 changes: 1 addition & 1 deletion pyslackersweb/sirbot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
READTHEDOCS_NOTIFICATION_CHANNEL = "community_projects"

# Development
if os.environ.get("PLATFORM_BRANCH") != "master":
if os.environ.get("PLATFORM_BRANCH") != "main":
READTHEDOCS_NOTIFICATION_CHANNEL = "general"
Loading