Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Add sample rate to sentry #981

Merged
merged 2 commits into from
Jul 10, 2024
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
34 changes: 34 additions & 0 deletions .github/workflows/update-migration-branch-from-govpaas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Update Migration Branch

on:
pull_request:
types:
- closed

permissions:
contents: write

jobs:
sync:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Git User
run: |
git config user.name "GitHub Action"
git config user.email "<EMAIL>"


- name: Update Migration Branch
run: |
git checkout govuk-paas-deploy
git fetch origin
git checkout migration-deploy
git pull
git merge origin/govuk-paas-deploy
git push origin migration-deploy
1 change: 1 addition & 0 deletions app/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
DjangoIntegration(),
],
enable_tracing=True,
sample_rate=0.01,
)

# Quick-start development settings - unsuitable for production
Expand Down
Loading