Skip to content

Commit

Permalink
fix(setup): add SLACK_INCOMING_HOOK env for all actions (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetiss authored and shipjs committed Dec 23, 2019
1 parent c0f1330 commit dbdd919
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/shipjs/src/step/setup/CI/addGitHubActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
);
Expand Down Expand Up @@ -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()
Expand All @@ -176,7 +177,6 @@ jobs:
GITHUB_TOKEN: \${{ secrets.GITHUB_TOKEN }}
with:
args: comment "@\${{ github.actor }} \`shipjs prepare\` fail"
`,
{ baseBranch, gitUserName, gitUserEmail }
);
Expand Down Expand Up @@ -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 }
);
Expand Down

0 comments on commit dbdd919

Please sign in to comment.