github actions: Use correct credentials for pushing
authorTom Stellard <tstellar@redhat.com>
Mon, 30 Nov 2020 20:25:43 +0000 (12:25 -0800)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 20:25:43 +0000 (12:25 -0800)
.github/workflows/main-branch-sync.yml

index c8cd477..2825a5f 100644 (file)
@@ -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