From 4e85e0ca904d154b1ee30b213e8d7bfb8afaa25d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 30 Nov 2020 12:25:43 -0800 Subject: [PATCH] github actions: Use correct credentials for pushing --- .github/workflows/main-branch-sync.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main-branch-sync.yml b/.github/workflows/main-branch-sync.yml index c8cd477..2825a5f 100644 --- a/.github/workflows/main-branch-sync.yml +++ b/.github/workflows/main-branch-sync.yml @@ -12,6 +12,10 @@ jobs: - name: Checkout Code uses: actions/checkout@v2 with: + # persist-credentials: false allows us to use our own credentials for + # pushing to the repository. Otherwise, the default github actions token + # is used. + persist-credentials: false fetch-depth: 0 - name: Update branch -- 2.7.4