Update update-main-source.yml

pull/1012/head
Adam Pickering 2024-04-18 12:56:17 -06:00
parent 3afd7108bd
commit 686affaecf
1 changed files with 5 additions and 11 deletions

View File

@ -12,7 +12,6 @@ jobs:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure git
run: |
@ -33,17 +32,12 @@ jobs:
app-id: ${{ env.APP_ID }}
private-key: ${{ env.PRIVATE_KEY }}
- name: Update main-source branch
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
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 }}"
test "this does not equal" = "this"
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Update main-source branch
run: |
scripts/pull-ci-scripts
bin/partner-charts-ci auto