From a40b78c820da581a9905bcbddcd9c5bb06b198f5 Mon Sep 17 00:00:00 2001 From: vmfunc Date: Fri, 22 Nov 2024 03:28:17 -0500 Subject: [PATCH] actions: remove PR-specific actions (needs to be fixed) --- .github/workflows/memes.yml | 36 ----------------- .github/workflows/reviewdog.yml | 71 --------------------------------- 2 files changed, 107 deletions(-) delete mode 100644 .github/workflows/memes.yml delete mode 100644 .github/workflows/reviewdog.yml diff --git a/.github/workflows/memes.yml b/.github/workflows/memes.yml deleted file mode 100644 index 8c6fa98..0000000 --- a/.github/workflows/memes.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Memer Workflow - -on: [pull_request] - -jobs: - greeting: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@master - - name: Run Memer Action - id: memer - - uses: Bhupesh-V/memer-action@master - with: - filter: "new" - - - name: Check Outputs - run: | - echo "${{ steps.memer.outputs.meme }}" - echo "${{ steps.memer.outputs.title }}" - echo "${{ steps.memer.outputs.source }}" - - - name: Create comment - uses: peter-evans/create-or-update-comment@v1.3.0 - id: couc - with: - issue-number: ${{ github.event.number }} - body: | - 🎉🎉 Thanks for opening this PR/Issue - Please wait while the maintainer(s) review it - - Meanwhile have a look at this: - - > **${{ steps.memer.outputs.title }}** - ![meme](${{ steps.memer.outputs.meme }}) - ℹī¸ Source [ Powered By đŸ”Ĩ Memer Action ] diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml deleted file mode 100644 index b1bb2be..0000000 --- a/.github/workflows/reviewdog.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: reviewdog -on: [pull_request] -jobs: - # NOTE: golangci-lint doesn't report multiple errors on the same line from - # different linters and just report one of the errors? - - golangci-lint: - name: runner / golangci-lint - runs-on: ubuntu-latest - steps: - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: golangci-lint - uses: reviewdog/action-golangci-lint@v2 - with: - # optionally use a specific version of Go rather than the latest one - go_version: "1.17" - - # Can pass --config flag to change golangci-lint behavior and target - # directory. - golangci_lint_flags: "--config=.github/.golangci.yml ./testdata" - workdir: subdirectory/ - - # Use golint via golangci-lint binary with "warning" level. - golint: - name: runner / golint - runs-on: ubuntu-latest - steps: - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: golint - uses: reviewdog/action-golangci-lint@v2 - with: - golangci_lint_flags: "--disable-all -E golint" - tool_name: golint # Change reporter name. - level: warning # GitHub Status Check won't become failure with this level. - - # You can add more and more supported linters with different config. - errcheck: - name: runner / errcheck - runs-on: ubuntu-latest - steps: - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: errcheck - uses: reviewdog/action-golangci-lint@v2 - with: - golangci_lint_flags: "--disable-all -E errcheck" - tool_name: errcheck - level: info - - # Disable cache of golangci-lint result, go build and go dependencies - with_cache: - name: runner / errcheck - runs-on: ubuntu-latest - steps: - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: golangci-lint - uses: reviewdog/action-golangci-lint@v2 - with: - cache: false