diff options
author | Ee Durbin <ewdurbin@gmail.com> | 2023-02-28 13:23:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-28 13:23:39 (GMT) |
commit | e1a90ec75cd0f5cab21b467a73404081eaa1077f (patch) | |
tree | 5a73823706b3e594eafb0f95e52f2d26704c071d /.github | |
parent | 4c87537efb5fd28b4e4ee9631076ed5953720156 (diff) | |
download | cpython-e1a90ec75cd0f5cab21b467a73404081eaa1077f.zip cpython-e1a90ec75cd0f5cab21b467a73404081eaa1077f.tar.gz cpython-e1a90ec75cd0f5cab21b467a73404081eaa1077f.tar.bz2 |
Migrate to new PSF mailgun account (#102284)
Our legacy mailgun account is associated with a parent rackspace account that I am trying to decomission.
The necessary secret has been added to the GitHub Actions Secrets already, so this is ready to go on approval.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/new-bugs-announce-notifier.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/new-bugs-announce-notifier.yml b/.github/workflows/new-bugs-announce-notifier.yml index b2b6347..b2a76ef 100644 --- a/.github/workflows/new-bugs-announce-notifier.yml +++ b/.github/workflows/new-bugs-announce-notifier.yml @@ -19,13 +19,13 @@ jobs: - name: Send notification uses: actions/github-script@v6 env: - MAILGUN_API_KEY: ${{ secrets.PSF_MAILGUN_KEY }} + MAILGUN_API_KEY: ${{ secrets.MAILGUN_PYTHON_ORG_MAILGUN_KEY }} with: script: | const Mailgun = require("mailgun.js"); const formData = require('form-data'); const mailgun = new Mailgun(formData); - const DOMAIN = "mg.python.org"; + const DOMAIN = "mailgun.python.org"; const mg = mailgun.client({username: 'api', key: process.env.MAILGUN_API_KEY}); github.rest.issues.get({ issue_number: context.issue.number, @@ -44,7 +44,7 @@ jobs: }; const data = { - from: "CPython Issues <github@mg.python.org>", + from: "CPython Issues <github@mailgun.python.org>", to: "new-bugs-announce@python.org", subject: `[Issue ${issue.data.number}] ${issue.data.title}`, template: "new-github-issue", |