GitOps for GitHub(Beta).
$repo/github.json:
{
"members": [
{ "login": "mechiru", "email": "some-valid-email" }
]
}
workflow:
name: gitops-for-github
on:
push:
branches: [master]
jobs:
operation:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: mechiru/gitops-for-github@master
with:
organization: your-organization-name
file: $repo/github.json
token: ${{ secrets.MY_GITHUB_API_TOKEN }}
dry-run: true
See action.yml.
This Action is distributed under the terms of the MIT license, see LICENSE for details.
Any contributions are welcomed!