mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 06:45:27 +01:00
chore: remove step commenting on failed runs
The intent was that the CI would post a comment when documentation or generated files were not up-to-date but it only works for PRs from the origin repository (e.g. not with forks). Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
30
.github/workflows/checks.yaml
vendored
30
.github/workflows/checks.yaml
vendored
@@ -33,21 +33,6 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
comment-generate-failure:
|
||||
if: ${{ failure() }}
|
||||
permissions:
|
||||
pull-requests: write
|
||||
needs: generate
|
||||
name: Comment troubleshooting message for format and generate failure
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Comment PR
|
||||
uses: thollander/actions-comment-pull-request@v3
|
||||
with:
|
||||
message: 'Auto-generated files are likely not up-to-date. Please make sure to run `make --always-make format generate`, commit the modifications and push the updated branch.'
|
||||
|
||||
check-docs:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check Documentation formatting and links
|
||||
@@ -63,21 +48,6 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
comment-docs-failure:
|
||||
if: ${{ failure() }}
|
||||
permissions:
|
||||
pull-requests: write
|
||||
needs: check-docs
|
||||
name: Comment troubleshooting message for check-docs failure
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Comment PR
|
||||
uses: thollander/actions-comment-pull-request@v3
|
||||
with:
|
||||
message: 'Formatting and local/remote links likely not correct. Please make sure to run `make check-docs`, commit the modifications and push the updated branch.'
|
||||
|
||||
check-golang:
|
||||
runs-on: ubuntu-latest
|
||||
name: Golang linter
|
||||
|
||||
Reference in New Issue
Block a user