Skip to content

Commit 01f342c

Browse files
committed
Merge remote-tracking branch 'upstream/master' into update_next_with_master_12
2 parents c308efa + c91d64d commit 01f342c

File tree

156 files changed

+8092
-4908
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+8092
-4908
lines changed

.all-contributorsrc

Lines changed: 135 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,10 @@
869869
"profile": "https://github.com/akkshitgupta",
870870
"contributions": [
871871
"code",
872-
"bug"
872+
"bug",
873+
"example",
874+
"test",
875+
"doc"
873876
]
874877
},
875878
{
@@ -938,6 +941,137 @@
938941
"code",
939942
"example"
940943
]
944+
},
945+
{
946+
"login": "gitankit7",
947+
"name": "gitankit7",
948+
"avatar_url": "https://avatars.githubusercontent.com/u/34441936?v=4",
949+
"profile": "https://github.com/gitankit7",
950+
"contributions": [
951+
"code"
952+
]
953+
},
954+
{
955+
"login": "janne-slamcore",
956+
"name": "Janne Husberg",
957+
"avatar_url": "https://avatars.githubusercontent.com/u/112867847?v=4",
958+
"profile": "https://github.com/janne-slamcore",
959+
"contributions": [
960+
"code",
961+
"test",
962+
"bug"
963+
]
964+
},
965+
{
966+
"login": "borrull",
967+
"name": "borrull",
968+
"avatar_url": "https://avatars.githubusercontent.com/u/5275400?v=4",
969+
"profile": "https://github.com/borrull",
970+
"contributions": [
971+
"code",
972+
"test"
973+
]
974+
},
975+
{
976+
"login": "kamaz",
977+
"name": "Kamil Zuzda",
978+
"avatar_url": "https://avatars.githubusercontent.com/u/2106178?v=4",
979+
"profile": "http://www.yokeplatform.com",
980+
"contributions": [
981+
"code"
982+
]
983+
},
984+
{
985+
"login": "jespitae",
986+
"name": "jespitae",
987+
"avatar_url": "https://avatars.githubusercontent.com/u/23041146?v=4",
988+
"profile": "https://github.com/jespitae",
989+
"contributions": [
990+
"code",
991+
"test",
992+
"bug"
993+
]
994+
},
995+
{
996+
"login": "Pike",
997+
"name": "Axel Hecht",
998+
"avatar_url": "https://avatars.githubusercontent.com/u/43494?v=4",
999+
"profile": "https://pike.github.io/",
1000+
"contributions": [
1001+
"code",
1002+
"test"
1003+
]
1004+
},
1005+
{
1006+
"login": "tomdevroomen",
1007+
"name": "Tom de Vroomen",
1008+
"avatar_url": "https://avatars.githubusercontent.com/u/4637986?v=4",
1009+
"profile": "https://github.com/tomdevroomen",
1010+
"contributions": [
1011+
"code",
1012+
"example",
1013+
"doc",
1014+
"test"
1015+
]
1016+
},
1017+
{
1018+
"login": "memdal",
1019+
"name": "memdal",
1020+
"avatar_url": "https://avatars.githubusercontent.com/u/77838566?v=4",
1021+
"profile": "https://github.com/memdal",
1022+
"contributions": [
1023+
"code",
1024+
"test"
1025+
]
1026+
},
1027+
{
1028+
"login": "maxplatov",
1029+
"name": "maxplatov",
1030+
"avatar_url": "https://avatars.githubusercontent.com/u/14889696?v=4",
1031+
"profile": "https://github.com/maxplatov",
1032+
"contributions": [
1033+
"review"
1034+
]
1035+
},
1036+
{
1037+
"login": "emmanuel-ferdman",
1038+
"name": "Emmanuel Ferdman",
1039+
"avatar_url": "https://avatars.githubusercontent.com/u/35470921?v=4",
1040+
"profile": "https://github.com/emmanuel-ferdman",
1041+
"contributions": [
1042+
"doc"
1043+
]
1044+
},
1045+
{
1046+
"login": "jonjomckay",
1047+
"name": "Jonjo McKay",
1048+
"avatar_url": "https://avatars.githubusercontent.com/u/456645?v=4",
1049+
"profile": "https://jonjomckay.com",
1050+
"contributions": [
1051+
"code",
1052+
"bug",
1053+
"test"
1054+
]
1055+
},
1056+
{
1057+
"login": "TertiumOrganum1",
1058+
"name": "TertiumOrganum1",
1059+
"avatar_url": "https://avatars.githubusercontent.com/u/51286827?v=4",
1060+
"profile": "https://github.com/TertiumOrganum1",
1061+
"contributions": [
1062+
"code",
1063+
"doc",
1064+
"test"
1065+
]
1066+
},
1067+
{
1068+
"login": "Shriya-Chauhan",
1069+
"name": "Shriya Chauhan",
1070+
"avatar_url": "https://avatars.githubusercontent.com/u/78415084?v=4",
1071+
"profile": "https://github.com/Shriya-Chauhan",
1072+
"contributions": [
1073+
"code"
1074+
]
9411075
}
9421076
],
9431077
"contributorsPerLine": 7,

.github/workflows/bounty-program-commands.yml

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ on:
1414
types:
1515
- created
1616

17+
env:
18+
BOUNTY_PROGRAM_LABELS_JSON: |
19+
[
20+
{"name": "bounty", "color": "0e8a16", "description": "Participation in the Bounty Program"}
21+
]
22+
1723
jobs:
1824
guard-against-unauthorized-use:
1925
if: >
2026
github.actor != ('aeworxet' || 'thulieblack') &&
2127
(
22-
contains(github.event.comment.body, '/bounty' )
28+
startsWith(github.event.comment.body, '/bounty' )
2329
)
2430
2531
runs-on: ubuntu-latest
@@ -46,15 +52,10 @@ jobs:
4652
if: >
4753
github.actor == ('aeworxet' || 'thulieblack') &&
4854
(
49-
contains(github.event.comment.body, '/bounty' )
55+
startsWith(github.event.comment.body, '/bounty' )
5056
)
5157
5258
runs-on: ubuntu-latest
53-
env:
54-
BOUNTY_PROGRAM_LABELS_JSON: |
55-
[
56-
{"name": "bounty", "color": "0e8a16", "description": "Participation in the Bounty Program"}
57-
]
5859

5960
steps:
6061
- name: Add label `bounty`
@@ -88,3 +89,38 @@ jobs:
8889
repo: context.repo.repo,
8990
labels: [BOUNTY_PROGRAM_LABELS[0].name]
9091
})
92+
93+
remove-label-bounty:
94+
if: >
95+
github.actor == ('aeworxet' || 'thulieblack') &&
96+
(
97+
startsWith(github.event.comment.body, '/unbounty' )
98+
)
99+
100+
runs-on: ubuntu-latest
101+
102+
steps:
103+
- name: Remove label `bounty`
104+
uses: actions/github-script@v6
105+
106+
with:
107+
github-token: ${{ secrets.GH_TOKEN }}
108+
script: |
109+
const BOUNTY_PROGRAM_LABELS = JSON.parse(process.env.BOUNTY_PROGRAM_LABELS_JSON);
110+
let LIST_OF_LABELS_FOR_ISSUE = await github.rest.issues.listLabelsOnIssue({
111+
owner: context.repo.owner,
112+
repo: context.repo.repo,
113+
issue_number: context.issue.number,
114+
});
115+
116+
LIST_OF_LABELS_FOR_ISSUE = LIST_OF_LABELS_FOR_ISSUE.data.map(key => key.name);
117+
118+
if (LIST_OF_LABELS_FOR_ISSUE.includes(BOUNTY_PROGRAM_LABELS[0].name)) {
119+
console.log('Removing label `bounty`...');
120+
github.rest.issues.removeLabel({
121+
issue_number: context.issue.number,
122+
owner: context.repo.owner,
123+
repo: context.repo.repo,
124+
name: [BOUNTY_PROGRAM_LABELS[0].name]
125+
})
126+
}

.github/workflows/if-nodejs-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
runs-on: ${{ matrix.os }}
3434
strategy:
3535
matrix:
36-
os: [ubuntu-latest, macos-latest, windows-latest]
36+
# Using macos-13 instead of latest (macos-14) due to an issue with Puppeteer and such runner.
37+
# See: https://github.com/puppeteer/puppeteer/issues/12327 and https://github.com/asyncapi/parser-js/issues/1001
38+
os: [ubuntu-latest, macos-13, windows-latest]
3739
steps:
3840
- name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows
3941
run: |

.github/workflows/issues-prs-notifications.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
name: Notify slack on every new issue
2121
runs-on: ubuntu-latest
2222
steps:
23-
- name: Checkout repository
24-
uses: actions/checkout@v3
2523
- name: Convert markdown to slack markdown for issue
2624
uses: asyncapi/.github/.github/actions/slackify-markdown@master
2725
id: issuemarkdown
@@ -40,8 +38,6 @@ jobs:
4038
name: Notify slack on every new pull request
4139
runs-on: ubuntu-latest
4240
steps:
43-
- name: Checkout repository
44-
uses: actions/checkout@v3
4541
- name: Convert markdown to slack markdown for pull request
4642
uses: asyncapi/.github/.github/actions/slackify-markdown@master
4743
id: prmarkdown
@@ -60,8 +56,6 @@ jobs:
6056
name: Notify slack on every new pull request
6157
runs-on: ubuntu-latest
6258
steps:
63-
- name: Checkout repository
64-
uses: actions/checkout@v3
6559
- name: Convert markdown to slack markdown for pull request
6660
uses: asyncapi/.github/.github/actions/slackify-markdown@master
6761
id: discussionmarkdown
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This action is centrally managed in https://github.com/asyncapi/.github/
2+
# 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
3+
4+
name: Trigger MAINTAINERS.yaml file update
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
paths:
10+
# Check all valid CODEOWNERS locations:
11+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-file-location
12+
- 'CODEOWNERS'
13+
- '.github/CODEOWNERS'
14+
- '.docs/CODEOWNERS'
15+
16+
jobs:
17+
trigger-maintainers-update:
18+
name: Trigger updating MAINTAINERS.yaml because of CODEOWNERS change
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Repository Dispatch
23+
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # https://github.com/peter-evans/repository-dispatch/releases/tag/v3.0.0
24+
with:
25+
# The PAT with the 'public_repo' scope is required
26+
token: ${{ secrets.GH_TOKEN }}
27+
repository: ${{ github.repository_owner }}/community
28+
event-type: trigger-maintainers-update

CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
# Input Champions for AsyncAPI input
2020
*/processors/AsyncAPIInputProcessor*.ts
2121

22+
# Input Champions for Avro Schema input
23+
*/helpers/AvroToMetaModel*.ts @akkshitgupta
24+
*/processors/AvroSchemaInputProcessor*.ts @akkshitgupta
25+
2226
# Input Champions for TypeScript input
2327
*/processors/TypeScriptInputProcessor*.ts
2428

0 commit comments

Comments
 (0)