Skip to content

Merge pull request #157 from girafi/master #109

Merge pull request #157 from girafi/master

Merge pull request #157 from girafi/master #109

name: Apply Org Config
on:
push:
branches:
- master
jobs:
apply-org-config:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Peribolos run
env:
GITHUB_TOKEN: ${{ secrets.PERIBOLOS_PERSONAL_TOKEN }}
run: |
echo $GITHUB_TOKEN > $RUNNER_TEMP/token
docker run --rm \
-v $RUNNER_TEMP/token:/etc/github/token \
-v $(pwd)/config.yaml:/etc/config/config.yaml \
gcr.io/k8s-prow/peribolos:v20230418-23b5d25059 \
--github-token-path /etc/github/token \
--config-path /etc/config/config.yaml \
--fix-org \
--fix-org-members \
--fix-team-members \
--fix-teams \
--fix-team-repos \
--confirm