Skip to content

Commit

Permalink
chore: [TEST] add @KhudaDad414 as a codeowner (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhudaDad414 authored Aug 10, 2023
1 parent 7146142 commit f206d6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/update-maintainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
jobs:
update-maintainers:
runs-on: ubuntu-latest

env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Checkout main branch
uses: actions/checkout@v3
Expand All @@ -31,7 +32,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: asyncapi/community
token: ${{ secrets.GH_TOKEN}}
token: ${{ env.GITHUB_TOKEN }}
path: community

- name: Setup Node.js
Expand All @@ -45,7 +46,7 @@ jobs:
- name: Compare CODEOWNERS
id: compare-codeowners
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ env.GITHUB_TOKEN }}
uses: actions/github-script@v6
with:
script: |
Expand Down Expand Up @@ -155,7 +156,7 @@ jobs:
git config --global user.name "asyncapi-bot"
git add .
git commit -m "Update MAINTAINERS.yaml"
git push https://${{ secrets.GH_TOKEN }}@github.com/asyncapi/community
git push https://${{ env.GITHUB_TOKEN }}@github.com/asyncapi/community
- name: Create PR
working-directory: ./community
Expand Down
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# 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.
* @magicmatatjahu @derberg @asyncapi-bot-eve
* @khudadad414 @magicmatatjahu @derberg @asyncapi-bot-eve

0 comments on commit f206d6e

Please sign in to comment.