Drop gatekeeper CI checks (#14717)

This commit is contained in:
Carlos Mocholí 2022-09-15 13:29:47 +02:00 committed by GitHub
parent 75e6c9109c
commit df640f7d87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 64 deletions

View File

@ -47,7 +47,6 @@ subprojects:
- "make-doctest (pytorch)"
- "make-html (pytorch)"
- "mypy"
- "PR Gatekeeper (pytorch)"
- "pytorch-lightning (GPUs)"
- "pytorch-lightning (HPUs)"
- "pytorch-lightning (IPUs)"

View File

@ -1,12 +0,0 @@
approvals:
groups:
- name: 'Lightning Apps'
minimum: 1
from:
- alecmerdler
- awaelchli
- hhsecond
- lantiga
- manskx
- nohalon
- tchaton

View File

@ -1,15 +0,0 @@
approvals:
groups:
- name: 'PyTorch Lightning'
minimum: 1
from:
- awaelchli
- Borda
- carmocca
- ethanwharris
- kaushikb11
- krshrimali
- otaj
- rohitgr7
- tchaton
- williamFalcon

View File

@ -59,5 +59,5 @@
| .github/mergify.yml | Label PRs as conflicts or ready, and request reviews if needed. |
| .github/stale.yml | Close inactive issues/PRs sometimes after adding the "won't fix" label to them. |
| .github/workflows/probot-auto-cc.yml, .github/lightning-probot.yml | Notify maintainers of interest depending on labels added to an issue We utilize lightning-probot forked from PyTorchs probot. |
| .github/workflows/probot-check-group.yml, .github/checkgroup.yml | Checks whether the relevant jobs were successfully run based on the changed files in the PR |
| .pre-commit-config.yaml | pre-commit.ci runs a set of linters and formatters, such as black, flake8 and isort. When formatting is applied, the bot pushes a commit with its change. This configuration is also used for running pre-commit locally. |
| .github/workflows/ci-pr-gatekeeper.yml | Prevent PRs from merging into master without any Grid.ai employees approval. |

View File

@ -1,35 +0,0 @@
name: 'PR Gatekeeper'
on:
pull_request_review:
types: [submitted]
# todo: simplify after adding https://github.com/octodemo/pr-gatekeeper/issues/293
jobs:
gatekeeper:
name: PR Gatekeeper
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
pkg: ["app", "pytorch"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: "2" # To retrieve the preceding commit.
- name: Get changed files using defaults
id: changed-files
uses: tj-actions/changed-files@v29.0.4
- name: Determine changes
id: touched
run: |
patterns = ('docs/source-${{ matrix.pkg }}', 'src/lightning_${{ matrix.pkg }}', 'tests/tests_${{ matrix.pkg }}')
changed = any(p in "${{steps.changed-files.outputs.all_changed_and_modified_files}}" for p in patterns)
print(f'::set-output name=files::{int(changed)}')
shell: python
- uses: octodemo/pr-gatekeeper@main
if: steps.touched.outputs.files == 1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: './.github/gatekeeper-config_${{ matrix.pkg }}.yml'