Skip to content

Commit

Permalink
chore: disable slack hooks (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
nd0ut authored Jul 4, 2023
1 parent 330c337 commit d2cce69
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/shipjs-manual-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ jobs:
- run: npm run release:prepare -- --yes --no-browse
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}
1 change: 0 additions & 1 deletion .github/workflows/shipjs-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
SLACK_INCOMING_HOOK: ${{ secrets.SLACK_INCOMING_HOOK }}
7 changes: 1 addition & 6 deletions ship.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
export default {
publishCommand: ({ defaultCommand }) => `${defaultCommand} --access public`,
mergeStrategy: { toSameBranch: ['master'] },
pullRequestReviewers: ['nd0ut'],
slack: {
// disable slack notification for `prepared` lifecycle.
// Ship.js will send slack message only for `releaseSuccess`.
prepared: null
}
pullRequestReviewers: ['nd0ut']
}

0 comments on commit d2cce69

Please sign in to comment.