Skip to content

Merge pull request #88 from bliemli/main #73

Merge pull request #88 from bliemli/main

Merge pull request #88 from bliemli/main #73

name: Apply Org Config
on:
push:
branches:
- main
jobs:
apply-org-config:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Peribolos run
env:
GITHUB_TOKEN: ${{ secrets.PERIBOLOS_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