fix(ci): Fix GitHub workflow behavior for forks (#23117)

This commit is contained in:
Josh Soref
2023-04-14 11:23:00 -04:00
committed by GitHub
parent da5f7155c6
commit 47fd73255e
30 changed files with 281 additions and 56 deletions

View File

@@ -10,9 +10,12 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false
submodules: recursive
@@ -36,5 +39,5 @@ jobs:
with:
charts_dir: helm
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_TOKEN: "${{ github.token }}"
CR_RELEASE_NAME_TEMPLATE: "superset-helm-chart-{{ .Version }}"