Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Add `GH_SLACK_USERNAME_MAP` as required input of composite workflow (#2056)
Krystle Salazar8881cd57f0a2
diff --git a/.github/actions/staging-frontend-deploy/action.yml b/.github/actions/staging-frontend-deploy/action.ymlindex c743cd80b..b9432e2dd 100644--- a/.github/actions/staging-frontend-deploy/action.yml+++ b/.github/actions/staging-frontend-deploy/action.yml@@ -18,6 +18,8 @@ inputs:required: trueslack-webhook:required: true+ gh-slack-username-map:+ required: trueruns:using: "composite"@@ -26,7 +28,7 @@ runs:- name: Set the Slack usershell: pythonenv:- GH_SLACK_USERNAME_MAP: ${{ secrets.GH_SLACK_USERNAME_MAP }}+ GH_SLACK_USERNAME_MAP: ${{ inputs.gh-slack-username-map }}run: |import jsonimport osdiff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.ymlindex 7c86b49f5..c6026a669 100644--- a/.github/workflows/ghcr.yml+++ b/.github/workflows/ghcr.yml@@ -99,6 +99,7 @@ jobs:aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}slack-webhook: ${{ secrets.SLACK_WEBHOOK_URL }}+ gh-slack-username-map: ${{ secrets.GH_SLACK_USERNAME_MAP }}deploy-production:name: Deploy production frontenddiff --git a/.github/workflows/rollback.yml b/.github/workflows/rollback.ymlindex d2aa01684..6c4a3c555 100644--- a/.github/workflows/rollback.yml+++ b/.github/workflows/rollback.yml@@ -89,3 +89,4 @@ jobs:aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}slack-webhook: ${{ secrets.SLACK_WEBHOOK_URL }}+ gh-slack-username-map: ${{ secrets.GH_SLACK_USERNAME_MAP }}