Update update-main-source.yml
parent
f6622e76b8
commit
7ea9261f50
|
@ -36,10 +36,12 @@ jobs:
|
|||
- name: Update main-source branch
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||
PROOF_OF_CONCEPT: "success"
|
||||
run: |
|
||||
test "$PROOF_OF_CONCEPT" = "success"
|
||||
test "${{ env.PROOF_OF_CONCEPT }}" = "success"
|
||||
test -n "${{ steps.app-token.outputs.token }}"
|
||||
test -n "$GITHUB_TOKEN"
|
||||
test -n "${{ env.GITHUB_TOKEN }}"
|
||||
test "$GITHUB_TOKEN" = "${{ steps.app-token.outputs.token }}"
|
||||
test "${{ env.GITHUB_TOKEN }}" = "${{ steps.app-token.outputs.token }}"
|
||||
|
||||
scripts/pull-ci-scripts
|
||||
bin/partner-charts-ci auto
|
||||
|
@ -47,5 +49,5 @@ jobs:
|
|||
# exit if there are no changes
|
||||
git diff --quiet origin/main-source main-source && exit 0
|
||||
|
||||
git push origin main-source
|
||||
# git push origin main-source
|
||||
# git remote set-url origin https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/rancher/partner-charts
|
||||
|
|
Loading…
Reference in New Issue