Skip to content

Commit

Permalink
Update sentry sample rate (#6989)
Browse files Browse the repository at this point in the history
* Update sentry sample rate

* Add new action for govpaas branch
  • Loading branch information
cgsunkel authored Jul 10, 2024
1 parent 680df01 commit d01db55
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion src/client/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if (globalProps.sentryDsn) {
],
}),
],
tracesSampleRate: 1.0,
tracesSampleRate: 0.01,
})
}

Expand Down

0 comments on commit d01db55

Please sign in to comment.