diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml deleted file mode 100644 index b22c6d55f..000000000 --- a/.github/workflows/codespell.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Helps catch spelling errors -name: Codespell - -on: - pull_request: - -jobs: - codespell: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - - - uses: codespell-project/actions-codespell@94259cd8be02ad2903ba34a22d9c13de21a74461 # v2.0 - with: - skip: .git,_artifacts,*.sum - ignore_words_file: .codespellignore - check_filenames: true - check_hidden: true - diff --git a/.github/workflows/cover.yaml b/.github/workflows/cover.yaml deleted file mode 100644 index 147cdb6e5..000000000 --- a/.github/workflows/cover.yaml +++ /dev/null @@ -1,20 +0,0 @@ -# add public code coverage reports -name: coverage - -on: - push: - branches: - - main - -jobs: - coverage: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - - - run: "make test-cover" - - - uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0 - with: - file: ./coverage.out - fail_ci_if_error: true diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml deleted file mode 100644 index 2cea4178a..000000000 --- a/.github/workflows/link-check.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Check for broken links -name: Link-check - -on: - push: - paths: - - "docs/**" - branches: - - main - pull_request: - paths: "docs/**" - -jobs: - lint_docs: - name: Broken Links - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - - - uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15 - with: - use-quiet-mode: 'yes' - config-file: ".markdownlinkcheck.json" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml deleted file mode 100644 index bbb01222d..000000000 --- a/.github/workflows/lint.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Lint - -on: - pull_request: - -permissions: - contents: read - -jobs: - golangci: - name: lint - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 - - - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 - with: - go-version: "1.21" - check-latest: true - cache: false - - - name: golangci-lint - uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0 - with: - timeout: 10m - version: v1.57 diff --git a/.github/workflows/pr-gh-workflow-approve.yaml b/.github/workflows/pr-gh-workflow-approve.yaml deleted file mode 100644 index 7d6c0a567..000000000 --- a/.github/workflows/pr-gh-workflow-approve.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: PR approve GH Workflows - -on: - pull_request_target: - types: - - edited - - labeled - - reopened - - synchronize - -jobs: - approve: - name: Approve ok-to-test - - if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') - - runs-on: ubuntu-latest - - permissions: - actions: write - - steps: - - name: Update PR - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 - continue-on-error: true - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - script: | - const result = await github.rest.actions.listWorkflowRunsForRepo({ - owner: context.repo.owner, - repo: context.repo.repo, - event: "pull_request", - status: "action_required", - head_sha: context.payload.pull_request.head.sha, - per_page: 100 - }); - - for (var run of result.data.workflow_runs) { - await github.rest.actions.approveWorkflowRun({ - owner: context.repo.owner, - repo: context.repo.repo, - run_id: run.id - }); - }