From a4931ea4c749b9b89ea07690cedf532f3cd8aea2 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 2 Mar 2023 14:02:15 +0300 Subject: [PATCH] [#83] .github: Remove CODEOWNERS and actions Issue templates are still supported by Gitea: https://docs.gitea.io/en-us/issue-pull-request-templates/ . Signed-off-by: Evgenii Stratonikov --- .github/CODEOWNERS | 1 - .github/logo.svg | 70 ----------------------------- .github/workflows/changelog.yml | 29 ------------ .github/workflows/config-update.yml | 37 --------------- .github/workflows/dco.yml | 22 --------- .github/workflows/go.yml | 60 ------------------------- 6 files changed, 219 deletions(-) delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/logo.svg delete mode 100644 .github/workflows/changelog.yml delete mode 100644 .github/workflows/config-update.yml delete mode 100644 .github/workflows/dco.yml delete mode 100644 .github/workflows/go.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index f007b327d..000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @TrueCloudLab/storage-core @TrueCloudLab/committers diff --git a/.github/logo.svg b/.github/logo.svg deleted file mode 100644 index 148c359d5..000000000 --- a/.github/logo.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml deleted file mode 100644 index 5dab3d914..000000000 --- a/.github/workflows/changelog.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: CHANGELOG check - -on: - pull_request: - branches: - - master - - support/** - -jobs: - build: - runs-on: ubuntu-latest - name: Check for updates - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Get changed CHANGELOG - id: changelog-diff - uses: tj-actions/changed-files@v29 - with: - files: CHANGELOG.md - - - name: Fail if changelog not updated - if: steps.changelog-diff.outputs.any_changed == 'false' - uses: actions/github-script@v3 - with: - script: | - core.setFailed('CHANGELOG.md has not been updated') diff --git a/.github/workflows/config-update.yml b/.github/workflows/config-update.yml deleted file mode 100644 index a24c6981b..000000000 --- a/.github/workflows/config-update.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Configuration check - -on: - pull_request: - branches: - - master - - support/** - -jobs: - build: - runs-on: ubuntu-latest - name: config-check - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Get changed config-related files - id: config-diff - uses: tj-actions/changed-files@v29 - with: - files: | - config/** - cmd/neofs-node/config/** - - - name: Get changed doc files - id: docs-diff - uses: tj-actions/changed-files@v29 - with: - files: docs/** - - - name: Fail if config files are changed but the documentation is not updated - if: steps.config-diff.outputs.any_changed == 'true' && steps.docs-diff.outputs.any_changed == 'false' - uses: actions/github-script@v3 - with: - script: | - core.setFailed('Documentation has not been updated') diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml deleted file mode 100644 index 0e5c3efbd..000000000 --- a/.github/workflows/dco.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: DCO check - -on: - pull_request: - branches: - - master - - support/** - -jobs: - commits_check_job: - runs-on: ubuntu-latest - name: Commits Check - steps: - - name: Get PR Commits - id: 'get-pr-commits' - uses: tim-actions/get-pr-commits@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: DCO Check - uses: tim-actions/dco@master - with: - commits: ${{ steps.get-pr-commits.outputs.commits }} diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index c98199335..000000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: frostfs-node tests - -on: - push: - branches: - - master - - support/** - paths-ignore: - - '*.md' - pull_request: - branches: - - master - - support/** - paths-ignore: - - '*.md' - -jobs: - test: - runs-on: ubuntu-20.04 - strategy: - matrix: - go: [ '1.18.x', '1.19.x' ] - steps: - - name: Setup go - uses: actions/setup-go@v3 - with: - go-version: ${{ matrix.go }} - - - name: Check out code - uses: actions/checkout@v3 - - - name: Cache go mod - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go-${{ matrix.go }}- - - - name: Run go test - run: go test -coverprofile=coverage.txt -covermode=atomic ./... - - - name: Codecov - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - run: bash <(curl -s https://codecov.io/bash) - - lint: - runs-on: ubuntu-20.04 - steps: - - uses: actions/setup-go@v3 - with: - go-version: 1.19 - - uses: actions/checkout@v3 - - name: golangci-lint - uses: golangci/golangci-lint-action@v3 - with: - version: v1.50.0 - args: --timeout=5m - only-new-issues: true