Skip to content

Commit 2da0459

Browse files
authored
ci: update of files from global .github repo (#559)
1 parent dc1900e commit 2da0459

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
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

.releaserc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ branches:
1313
prerelease: true
1414
- name: alpha
1515
prerelease: true
16+
- name: next
17+
prerelease: true
1618
plugins:
1719
- - "@semantic-release/commit-analyzer"
1820
- preset: conventionalcommits

0 commit comments

Comments
 (0)