From 36dafbd969d1e1daa7c5ad67e4967c26a2742a8d Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 21 Mar 2024 11:58:45 -0500 Subject: [PATCH] Update vulnerability dashboard deploy action & update github maintainers in custom.js (#17602) Changes: - Updated the deploy-vulnerability-dashboard workflow to use the correct variables for the Heroku steps. - Added GitHub maintainers to `website/config/custom.js` for the GitHub workflows related to the vulnerability dashboard. --- .github/workflows/deploy-vulnerability-dashboard.yml | 4 ++-- website/config/custom.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-vulnerability-dashboard.yml b/.github/workflows/deploy-vulnerability-dashboard.yml index 7f453b8367..a8196535ab 100644 --- a/.github/workflows/deploy-vulnerability-dashboard.yml +++ b/.github/workflows/deploy-vulnerability-dashboard.yml @@ -22,9 +22,9 @@ jobs: # Configure our access credentials for the Heroku CLI - uses: akhileshns/heroku-deploy@79ef2ae4ff9b897010907016b268fd0f88561820 # v3.6.8 with: - heroku_api_key: ${{secrets.HEROKU_API_TOKEN_FOR_DEPLOYMENT}} + heroku_api_key: ${{secrets.HEROKU_API_TOKEN_FOR_BOT_USER}} heroku_app_name: "" # this has to be blank or it doesn't work - heroku_email: ${{secrets.HEROKU_EMAIL_FOR_DEPLOYMENT}} + heroku_email: ${{secrets.HEROKU_EMAIL_FOR_BOT_USER}} justlogin: true - run: heroku auth:whoami diff --git a/website/config/custom.js b/website/config/custom.js index f57443fbc4..c31b77b5d3 100644 --- a/website/config/custom.js +++ b/website/config/custom.js @@ -232,6 +232,8 @@ module.exports.custom = { // Github workflows '.github/workflows/deploy-fleet-website.yml': ['eashaw','mikermcneil'],// (website deploy script) '.github/workflows/test-website.yml': ['eashaw','mikermcneil'],//« website CI test script + '.github/workflows/deploy-vulnerability-dashboard.yml': ['eashaw','mikermcneil'],// (vulnerabiltiy dashboard deploy script) + '.github/workflows/test-vulnerability-dashboard-changes.yml': ['eashaw','mikermcneil'],//« vulnerabiltiy dashboard CI test script '.github/workflows': ['lukeheath', 'mikermcneil'],//« CI/CD workflows & misc GitHub Actions. Note that some are also addressed more specifically below in relevant sections) // Repo automation and change control settings