Skip to content

Commit

Permalink
OpenPrescribing has moved to the new GH org
Browse files Browse the repository at this point in the history
  • Loading branch information
madwort committed Jan 15, 2025
1 parent 97c1087 commit 3aedbee
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ The following slack environment variables need to be set:
- `SLACK_APP_USERNAME`: The app's default name (and the name users will refer to the Bot as in Slack); found under Features > App Home

The following webhook environment variables need to be set. These relate to callbacks from
OpenPrescribing, and are configured at https://github.com/ebmdatalab/openprescribing/settings/hooks/85994427.
OpenPrescribing, and are configured at https://github.com/bennettoxford/openprescribing/settings/hooks/85994427.
- `GITHUB_WEBHOOK_SECRET`
- `WEBHOOK_ORIGIN`

Expand Down
2 changes: 1 addition & 1 deletion bennettbot/job_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"op": {
"restricted": True,
"description": "OpenPrescribing deployment and tools",
"fabfile": "https://raw.githubusercontent.com/ebmdatalab/openprescribing/main/fabfile.py",
"fabfile": "https://raw.githubusercontent.com/bennettoxford/openprescribing/main/fabfile.py",
"default_channel": "#team-rap",
"jobs": {
"deploy": {
Expand Down
4 changes: 2 additions & 2 deletions bennettbot/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
)

# Should match "Payload URL" from
# https://github.com/ebmdatalab/openprescribing/settings/hooks/85994427
# https://github.com/bennettoxford/openprescribing/settings/hooks/85994427
WEBHOOK_ORIGIN = env.str("WEBHOOK_ORIGIN")

# "Secret" from https://github.com/ebmdatalab/openprescribing/settings/hooks/85994427
# "Secret" from https://github.com/bennettoxford/openprescribing/settings/hooks/85994427
GITHUB_WEBHOOK_SECRET = env.str("GITHUB_WEBHOOK_SECRET").encode("ascii")

# Path to credentials of [email protected] GCP service account
Expand Down
2 changes: 1 addition & 1 deletion bennettbot/webserver/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def handle_github_webhook(project):
The webhook is configured at:
https://github.com/ebmdatalab/openprescribing/settings/hooks/85994427
https://github.com/bennettoxford/openprescribing/settings/hooks/85994427
"""

verify_signature(request)
Expand Down
2 changes: 1 addition & 1 deletion workspace/workflows/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"team": "Team REX",
},
"openprescribing": {
"org": "ebmdatalab",
"org": "bennettoxford",
"team": "Team RAP",
},
"opensafely-cli": {
Expand Down

0 comments on commit 3aedbee

Please sign in to comment.