-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update sentry sample rate * Add new action for govpaas branch
- Loading branch information
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
.github/workflows/update-migration-branch-from-govpaas.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ if (globalProps.sentryDsn) { | |
], | ||
}), | ||
], | ||
tracesSampleRate: 1.0, | ||
tracesSampleRate: 0.01, | ||
}) | ||
} | ||
|
||
|