fix(base-cluster): definitely enable everything for artifacthub (#1064) #251
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Release PR for charts | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: | |
- main | |
paths: | |
- charts/** | |
jobs: | |
createReleasePR: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4 | |
with: | |
skip-github-release: true | |
token: ${{ secrets.ACTIONS_BOT_TOKEN }} | |
config-file: .github/release-please/config.json | |
manifest-file: .github/release-please/manifest.json | |
id: release-please | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
if: ${{ steps.release-please.outputs.prs_created == 'true' }} | |
- name: Set PRs to auto-merge | |
if: ${{ steps.release-please.outputs.prs_created == 'true' }} | |
env: | |
GH_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }} | |
run: | | |
PRs=( ${{ join(fromJSON(steps.release-please.outputs.prs).*.number, ' ') }} ) | |
for pr_number in "${PRs[@]}";do | |
gh pr merge --auto --squash "$pr_number" | |
done |