fix(ci-workflow): Allow changelog commits on forked repositories (#36311)

Signed-off-by: Fran Mulero <francisco-jose.mulero@broadcom.com>
This commit is contained in:
Fran Mulero
2025-10-01 10:30:22 +02:00
committed by GitHub
parent 2027c676eb
commit 58b25de566

View File

@@ -3,7 +3,7 @@
name: '[CI/CD] CI Pipeline'
on: # rebuild any PRs and main branch changes
pull_request:
pull_request_target:
types:
- opened
- reopened
@@ -166,7 +166,7 @@ jobs:
needs: [get-chart]
name: Automatically update README, CRDs and CHANGELOG
permissions:
contents: write
contents: read
outputs:
result: ${{ steps.update-pr.outputs.result }}
if: needs.get-chart.outputs.result == 'ok'
@@ -176,12 +176,11 @@ jobs:
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
token: ${{ secrets.BITNAMI_BOT_TOKEN }}
path: charts
- name: Clone upstream bitnami/charts repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
ref: ${{github.event.pull_request.base.ref}}
repository: ${{github.event.pull_request.base.repo.full_name}}
path: upstream-charts
- name: Setup git configuration
run: |