diff --git a/.github/sync.yml b/.github/sync.yml index 74dd27c..1a76619 100644 --- a/.github/sync.yml +++ b/.github/sync.yml @@ -312,3 +312,9 @@ group: valitydev/webhook-dispatcher valitydev/woody_java valitydev/xrates + - id: erlang + files: + - source: erlang/.github/settings.yml + dest: .github/settings.yml + replace: true + repos: [] diff --git a/.github/workflows/sync-repo-list.yml b/.github/workflows/sync-repo-list.yml index c74a413..1f697d9 100644 --- a/.github/workflows/sync-repo-list.yml +++ b/.github/workflows/sync-repo-list.yml @@ -30,6 +30,10 @@ jobs: languages: >- java kotlin + + - group: erlang + languages: >- + erlang steps: - name: ⤵️ Check out code uses: actions/checkout@v3 diff --git a/erlang/.github/settings.yml b/erlang/.github/settings.yml new file mode 100644 index 0000000..2b2979e --- /dev/null +++ b/erlang/.github/settings.yml @@ -0,0 +1,46 @@ +# These settings are synced to GitHub by https://probot.github.io/apps/settings/ +_extends: .github + +teams: + - name: devs + permission: push + - name: bots + permission: push + - name: maintainers + permission: push + - name: erlang + permission: maintain + +branches: + - name: "master" + # https://developer.github.com/v3/repos/branches/#update-branch-protection + # Branch Protection settings. Set to null to disable + protection: + required_pull_request_reviews: + required_approving_review_count: 1 + dismiss_stale_reviews: false + require_code_owner_reviews: true + dismissal_restrictions: {} + required_status_checks: + strict: true + checks: + - context: "Load .env" + app_id: 15368 + - context: "Run checks / Build" + app_id: 15368 + - context: "Run checks / Check" + app_id: 15368 + - context: "Run checks / Dialyze" + app_id: 15368 + - context: "Run checks / Test" + app_id: 15368 + - context: "codecov/patch" + app_id: 254 + - context: "codecov/project" + app_id: 254 + enforce_admins: false + required_conversation_resolution: false + required_linear_history: true + restrictions: null + allow_force_pushes: false + allow_deletions: false