Skip to content

Commit

Permalink
Update .github/workflows/verify-maintainers.yaml
Browse files Browse the repository at this point in the history
Co-authored-by: Khuda Dad Nomani <[email protected]>
  • Loading branch information
14Richa and KhudaDad414 authored Jul 5, 2023
1 parent cc5fc18 commit 1608a1f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/verify-maintainers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
const beforeMaintainers = new Map(mainFile.map((maintainer) => [maintainer.name, {github: maintainer.github, repos: maintainer.repos || []}]));
let errorMessages = [];
const owner = "${{ github.repository_owner }}";
const repo = "${{ github.event.repository.name }}";
const pull_number = "${{ github.event.pull_request.number }}";
const author = "${{ github.event.pull_request.user.login }}";
const owner = context.repo.owner;
const repo = context.repo.repo;
const pull_number = context.issue.number;
const author = context.payload.pull_request.user.login;
// If the PR is made by the bot, don't do anything.
if (author === 'asyncapi-bot') {
Expand Down

0 comments on commit 1608a1f

Please sign in to comment.