-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cleanup readme release info and add toc (#223)
- Loading branch information
Showing
5 changed files
with
344 additions
and
140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,49 @@ | ||
#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 | ||
name: 'Notify slack' | ||
name: Notify slack | ||
|
||
on: | ||
issues: | ||
types: [opened, reopened] | ||
pull_request_target: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
|
||
issues: | ||
types: [opened, reopened] | ||
|
||
pull_request_target: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
|
||
jobs: | ||
|
||
issue: | ||
if: github.event_name == 'issues' && github.actor != 'asyncapi-bot' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' | ||
name: On every new issue | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Convert markdown to slack markdown for issue | ||
uses: LoveToKnow/[email protected] | ||
id: issuemarkdown | ||
with: | ||
text: "[${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}" | ||
- name: Send info about issue | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}} | ||
SLACK_TITLE: 🐛 New Issue 🐛 | ||
SLACK_MESSAGE: ${{steps.issuemarkdown.outputs.text}} | ||
MSG_MINIMAL: true | ||
if: github.event_name == 'issues' && github.actor != 'asyncapi-bot' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' | ||
name: On every new issue | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Convert markdown to slack markdown for issue | ||
uses: LoveToKnow/[email protected] | ||
id: issuemarkdown | ||
with: | ||
text: "[${{github.event.issue.title}}](${{github.event.issue.html_url}}) \n ${{github.event.issue.body}}" | ||
- name: Send info about issue | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}} | ||
SLACK_TITLE: 🐛 New Issue 🐛 | ||
SLACK_MESSAGE: ${{steps.issuemarkdown.outputs.text}} | ||
MSG_MINIMAL: true | ||
|
||
pull_request: | ||
if: github.event_name == 'pull_request' && 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: prmarkdown | ||
with: | ||
text: "[${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}" | ||
- name: Send info about pull request | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}} | ||
SLACK_TITLE: 💪 New Pull Request 💪 | ||
SLACK_MESSAGE: ${{steps.prmarkdown.outputs.text}} | ||
MSG_MINIMAL: true | ||
if: github.event_name == 'pull_request_target' && 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: prmarkdown | ||
with: | ||
text: "[${{github.event.pull_request.title}}](${{github.event.pull_request.html_url}}) \n ${{github.event.pull_request.body}}" | ||
- name: Send info about pull request | ||
uses: rtCamp/action-slack-notify@v2 | ||
env: | ||
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}} | ||
SLACK_TITLE: 💪 New Pull Request 💪 | ||
SLACK_MESSAGE: ${{steps.prmarkdown.outputs.text}} | ||
MSG_MINIMAL: true |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.