mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
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:
7
.github/workflows/ci-pipeline.yml
vendored
7
.github/workflows/ci-pipeline.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user