Skip to content

align with openyurt charts refs/heads/master from commit c0e8d33024fc… #138

align with openyurt charts refs/heads/master from commit c0e8d33024fc…

align with openyurt charts refs/heads/master from commit c0e8d33024fc… #138

name: Sync CODEOWNERS
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: |
./scripts/check-codeowners.sh > ${{ runner.temp }}/CODEOWNERS
- name: Checkout Code
uses: actions/checkout@v2
with:
ref: main
- name: install yq
run: |
sudo snap install yq
- name: commit codeowners
run: |
cp -f ${{ runner.temp }}/CODEOWNERS .github/CODEOWNERS
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add .github/CODEOWNERS
git commit --signoff -m "change code owners"
git push