mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-21 03:21:56 +00:00
25 lines
757 B
YAML
25 lines
757 B
YAML
name: Prowler - Pull Request Documentation Link
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'master'
|
|
- 'v3'
|
|
paths:
|
|
- 'docs/**'
|
|
|
|
env:
|
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
|
|
|
jobs:
|
|
documentation-link:
|
|
name: Documentation Link
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Leave PR comment with the Prowler Documentation URI
|
|
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
|
|
with:
|
|
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 }}/)
|