kube-style org automation (#25) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manage K8sGateway Org | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- org.yaml | |
jobs: | |
prep: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout community repo | |
uses: actions/checkout@v4 | |
- name: create token | |
run: | | |
echo $GH_TOK >> ./GH_TOK | |
env: | |
GH_TOK: ${{secrets.GATEWAYBOT}} | |
- name: update org | |
run: | | |
script/org/update.sh # --confirm |