-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issues/68-copy-name-to-title
- Loading branch information
Showing
3 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,9 +24,9 @@ jobs: | |
run: test -e ./package.json && echo "::set-output name=exists::true" || echo "::set-output name=exists::false" | ||
- if: steps.packagejson.outputs.exists == 'true' && startsWith(github.event.commits[0].message, 'chore(release):') | ||
name: Bumping latest version of this package in other repositories | ||
uses: derberg/custom-dependabot-for-your-github-org@v2 | ||
uses: derberg/npm-dependency-manager-for-your-github-org@v3 | ||
with: | ||
github_token: ${{ secrets.GH_TOKEN }} | ||
committer_username: asyncapi-bot | ||
committer_email: [email protected] | ||
repos_to_ignore: html-template #this is temporary until react component releases 1.0, then it can be removed | ||
repos_to_ignore: html-template #this is temporary until react component releases 1.0, then it can be removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#This action is centrally managed in https://github.com/asyncapi/.github/ | ||
#Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in above mentioned repo | ||
|
||
#This action notifies community on slack whenever there is a new issue, PR or discussion started in given repository | ||
name: Notify slack | ||
|
||
on: | ||
|
@@ -10,6 +12,9 @@ on: | |
pull_request_target: | ||
types: [opened, reopened, ready_for_review] | ||
|
||
discussion: | ||
types: [opened] | ||
|
||
jobs: | ||
|
||
issue: | ||
|
@@ -47,3 +52,21 @@ jobs: | |
SLACK_TITLE: 💪 New Pull Request 💪 | ||
SLACK_MESSAGE: ${{steps.prmarkdown.outputs.text}} | ||
MSG_MINIMAL: true | ||
|
||
discussion: | ||
if: github.event_name == 'discussion' && github.actor != 'asyncapi-bot' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' | ||
name: On every new pull request | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Convert markdown to slack markdown for pull request | ||
uses: LoveToKnow/[email protected] | ||
id: discussionmarkdown | ||
with: | ||
text: "[${{github.event.discussion.title}}](${{github.event.discussion.html_url}}) \n ${{github.event.discussion.body}}" | ||
- name: Send info about pull request | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}} | ||
SLACK_TITLE: 💬 New Discussion 💬 | ||
SLACK_MESSAGE: ${{steps.discussionmarkdown.outputs.text}} | ||
MSG_MINIMAL: true |