diff --git a/.github/workflows/build-documentation-on-pr.yml b/.github/workflows/build-documentation-on-pr.yml deleted file mode 100644 index 068197e805..0000000000 --- a/.github/workflows/build-documentation-on-pr.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Prowler - Pull Request Documentation Link - -on: - pull_request: - branches: - - 'master' - - 'v3' - paths: - - 'docs/**' - - '.github/workflows/build-documentation-on-pr.yml' - -env: - PR_NUMBER: ${{ github.event.pull_request.number }} - -jobs: - documentation-link: - name: Documentation Link - runs-on: ubuntu-latest - steps: - - name: Find existing documentation comment - uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0 - id: find-comment - with: - issue-number: ${{ env.PR_NUMBER }} - comment-author: 'github-actions[bot]' - body-includes: '' - - - name: Create or update PR comment with the Prowler Documentation URI - uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0 - with: - comment-id: ${{ steps.find-comment.outputs.comment-id }} - issue-number: ${{ env.PR_NUMBER }} - body: | - - You can check the documentation for this PR here -> [Prowler Documentation](https://prowler-prowler-docs--${{ env.PR_NUMBER }}.com.readthedocs.build/projects/prowler-open-source/en/${{ env.PR_NUMBER }}/) - edit-mode: replace