Update update-main-source.yml

pull/1012/head
Adam Pickering 2024-04-18 11:58:00 -06:00
parent f6622e76b8
commit 7ea9261f50
1 changed files with 6 additions and 4 deletions

View File

@ -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