From 2a7ec9fdcbe3ad4f8f79be8b4265f9126cc9429f Mon Sep 17 00:00:00 2001 From: Ace <40604284+AceTheCreator@users.noreply.github.com> Date: Mon, 25 Mar 2024 05:04:38 -0500 Subject: [PATCH 1/5] added codeowners file (#290) --- CODEOWNERS | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 00000000..e2fe2988 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1,10 @@ +# This file provides an overview of code owners in this repository. + +# Each line is a file pattern followed by one or more owners. +# The last matching pattern has the most precedence. +# For more details, read the following article on GitHub: https://help.github.com/articles/about-codeowners/. + +# The default owners are automatically added as reviewers when you open a pull request unless different owners are specified in the file. +* @AceTheCreator @thulieblack @Mayaleeeee + +README.md @AceTheCreator @thulieblack @Mayaleeeee \ No newline at end of file From 8b3b75b36b33593902feb4d9b12d9e7e9e2668e3 Mon Sep 17 00:00:00 2001 From: Ashmit Jagtap Date: Mon, 8 Apr 2024 17:23:14 +0530 Subject: [PATCH 2/5] feat: align code of conduct (#297) * cleared warnigns according to mentioned resources * added a dummy div to align the code of conduct text in footer * reverted the tailwind changes * removed the webp image --- components/Footer/footer.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/Footer/footer.js b/components/Footer/footer.js index d8c9a3a3..96bc009f 100644 --- a/components/Footer/footer.js +++ b/components/Footer/footer.js @@ -22,6 +22,9 @@ function Footer() {
company logo +
+ {/* This div helps keep the text centered */} +
-
+
{socials.map((social, index) => { return ( From cd64d7e7d4d239dcf2eaa646db3d16bb0fb38bbe Mon Sep 17 00:00:00 2001 From: Shaurya Gupta Date: Mon, 8 Apr 2024 17:47:21 +0530 Subject: [PATCH 3/5] fix: added venue link navigation (#275) * Added venue link navigation * Fixes map opening on clicking venue tab * Added noopener * Improve code in venue.js * Update venue.js --------- Co-authored-by: Ace <40604284+AceTheCreator@users.noreply.github.com> Co-authored-by: V Thulisile Sibanda <66913810+thulieblack@users.noreply.github.com> --- components/Venue/venue.js | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/components/Venue/venue.js b/components/Venue/venue.js index 5fdd5b8e..5671af44 100644 --- a/components/Venue/venue.js +++ b/components/Venue/venue.js @@ -1,17 +1,21 @@ /* eslint-disable react/no-unescaped-entities */ import React from 'react'; +import Link from 'next/link'; function Venue({ className, city }) { return ( - + ); } From 7473e8761ca438e27b06098d9eab58690a676c08 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Thu, 11 Apr 2024 07:15:18 +0200 Subject: [PATCH 4/5] ci: update of files from global .github repo (#301) --- .github/workflows/help-command.yml | 1 + .../workflows/please-take-a-look-command.yml | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .github/workflows/please-take-a-look-command.yml diff --git a/.github/workflows/help-command.yml b/.github/workflows/help-command.yml index d4ba4a44..55353bb8 100644 --- a/.github/workflows/help-command.yml +++ b/.github/workflows/help-command.yml @@ -31,6 +31,7 @@ jobs: At the moment the following comments are supported in pull requests: + - \`/please-take-a-look\` or \`/ptal\` - This comment will add a comment to the PR asking for attention from the reviewrs who have not reviewed the PR yet. - \`/ready-to-merge\` or \`/rtm\` - This comment will trigger automerge of PR in case all required checks are green, approvals in place and do-not-merge label is not added - \`/do-not-merge\` or \`/dnm\` - This comment will block automerging even if all conditions are met and ready-to-merge label is added - \`/autoupdate\` or \`/au\` - This comment will add \`autoupdate\` label to the PR and keeps your PR up-to-date to the target branch's future changes. Unless there is a merge conflict or it is a draft PR.` diff --git a/.github/workflows/please-take-a-look-command.yml b/.github/workflows/please-take-a-look-command.yml new file mode 100644 index 00000000..b26cbc41 --- /dev/null +++ b/.github/workflows/please-take-a-look-command.yml @@ -0,0 +1,54 @@ +# 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 + +# It uses Github actions to listen for comments on issues and pull requests and +# if the comment contains /please-take-a-look or /ptal it will add a comment pinging +# the code-owners who are reviewers for PR + +name: Please take a Look + +on: + issue_comment: + types: [created] + +jobs: + ping-for-attention: + if: > + github.event.issue.pull_request && + github.event.issue.state != 'closed' && + github.actor != 'asyncapi-bot' && + ( + contains(github.event.comment.body, '/please-take-a-look') || + contains(github.event.comment.body, '/ptal') || + contains(github.event.comment.body, '/PTAL') + ) + runs-on: ubuntu-latest + steps: + - name: Check for Please Take a Look Command + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.GH_TOKEN }} + script: | + const prDetailsUrl = context.payload.issue.pull_request.url; + const { data: pull } = await github.request(prDetailsUrl); + const reviewers = pull.requested_reviewers.map(reviewer => reviewer.login); + + const { data: reviews } = await github.rest.pulls.listReviews({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.issue.number + }); + + const reviewersWhoHaveReviewed = reviews.map(review => review.user.login); + + const reviewersWhoHaveNotReviewed = reviewers.filter(reviewer => !reviewersWhoHaveReviewed.includes(reviewer)); + + if (reviewersWhoHaveNotReviewed.length > 0) { + const comment = reviewersWhoHaveNotReviewed.filter(reviewer => reviewer !== 'asyncapi-bot-eve' ).map(reviewer => `@${reviewer}`).join(' '); + await github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: `${comment} Please take a look at this PR. Thanks! :wave:` + }); + } From 90894ead99f10d0a9cd58f3b2a584f1b83e0f678 Mon Sep 17 00:00:00 2001 From: Ashmit Jagtap Date: Mon, 15 Apr 2024 16:59:33 +0530 Subject: [PATCH 5/5] added Subscribe section (#305) --- components/Form/subscription.js | 2 +- pages/index.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/components/Form/subscription.js b/components/Form/subscription.js index 7cd56758..11223969 100644 --- a/components/Form/subscription.js +++ b/components/Form/subscription.js @@ -6,7 +6,7 @@ function Subcription() {