Skip to content

Commit

Permalink
Merge branch 'master' into 2021-09-release
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Sep 28, 2021
2 parents 7f665dd + 1f1d554 commit 7a8f4c3
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 27 deletions.
46 changes: 25 additions & 21 deletions .github/workflows/welcome-first-time-contrib.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
#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: Welcome first time contributors
#########
#disabled because of https://github.com/asyncapi/.github/issues/73
#########

on:
pull_request_target:
types:
- opened
issues:
types:
- opened
# name: Welcome first time contributors

jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: |
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our [contributors guide](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md) and the instructions about a [basic recommended setup](https://github.com/asyncapi/.github/blob/master/git-workflow.md) useful for opening a pull request.
# on:
# pull_request_target:
# types:
# - opened
# issues:
# types:
# - opened

Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out [this issue](https://github.com/asyncapi/asyncapi/issues/115).
# jobs:
# welcome:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/first-interaction@v1
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# issue-message: |
# Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our [contributors guide](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md) and the instructions about a [basic recommended setup](https://github.com/asyncapi/.github/blob/master/git-workflow.md) useful for opening a pull request.

# Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out [this issue](https://github.com/asyncapi/asyncapi/issues/115).

pr-message: |
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our [contributors guide](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md) and the instructions about a [basic recommended setup](https://github.com/asyncapi/.github/blob/master/git-workflow.md) useful for opening a pull request.

Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out [this issue](https://github.com/asyncapi/asyncapi/issues/115).
# pr-message: |
# Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our [contributors guide](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md) and the instructions about a [basic recommended setup](https://github.com/asyncapi/.github/blob/master/git-workflow.md) useful for opening a pull request.

# Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out [this issue](https://github.com/asyncapi/asyncapi/issues/115).
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/specs",
"version": "2.9.0-2021-09-release.2",
"version": "2.8.1",
"description": "AsyncAPI schema versions",
"main": "index.js",
"scripts": {
Expand Down
21 changes: 20 additions & 1 deletion schemas/2.1.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,26 @@
"examples": {
"type": "array",
"items": {
"type": "object"
"type": "object",
"additionalProperties": false,
"anyOf": [
{"required": ["payload"] },
{"required": ["headers"] }
],
"properties": {
"name": {
"type": "string",
"description": "Machine readable name of the message example."
},
"summary": {
"type": "string",
"description": "A brief summary of the message example."
},
"headers": {
"type": "object"
},
"payload": {}
}
}
},
"bindings": {
Expand Down

0 comments on commit 7a8f4c3

Please sign in to comment.