From dbdd919479684474f6ab1c4fad10072559ddc25b Mon Sep 17 00:00:00 2001 From: Dmitry Ivakhnenko Date: Mon, 23 Dec 2019 19:32:48 +0300 Subject: [PATCH] fix(setup): add SLACK_INCOMING_HOOK env for all actions (#550) --- packages/shipjs/src/step/setup/CI/addGitHubActions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/shipjs/src/step/setup/CI/addGitHubActions.js b/packages/shipjs/src/step/setup/CI/addGitHubActions.js index 1745bcb5..7b013f79 100644 --- a/packages/shipjs/src/step/setup/CI/addGitHubActions.js +++ b/packages/shipjs/src/step/setup/CI/addGitHubActions.js @@ -116,7 +116,7 @@ jobs: env: GITHUB_TOKEN: \${{ secrets.GH_TOKEN }} NODE_AUTH_TOKEN: \${{ secrets.NPM_AUTH_TOKEN }} - + SLACK_INCOMING_HOOK: \${{ secrets.SLACK_INCOMING_HOOK }} `, { releaseBranch } ); @@ -154,6 +154,7 @@ jobs: - run: npm run release:prepare -- --yes --no-browse env: GITHUB_TOKEN: \${{ secrets.GH_TOKEN }} + SLACK_INCOMING_HOOK: \${{ secrets.SLACK_INCOMING_HOOK }} create_done_comment: if: success() @@ -176,7 +177,6 @@ jobs: GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }} with: args: comment "@\${{ github.actor }} \`shipjs prepare\` fail" - `, { baseBranch, gitUserName, gitUserEmail } ); @@ -216,7 +216,7 @@ jobs: - run: npm run release:prepare -- --yes --no-browse env: GITHUB_TOKEN: \${{ secrets.GH_TOKEN }} - + SLACK_INCOMING_HOOK: \${{ secrets.SLACK_INCOMING_HOOK }} `, { baseBranch, cronExpr, gitUserName, gitUserEmail } );