From 2583ffaa0b639a7ebf991e25abfee459a93169bf Mon Sep 17 00:00:00 2001 From: Pablo Orviz Date: Mon, 11 Dec 2023 18:51:30 +0100 Subject: [PATCH] Update checkout --- .github/workflows/repo-sync.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 92d6fe01..f1667c48 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -34,13 +34,18 @@ jobs: source_branch: main destination_branch: repo-sync github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout branch + uses: actions/checkout@v3 + with: + persist-credentials: false + ref: repo-sync - uses: peter-evans/create-pull-request@v5 name: Create pull request with: base: repo-sync-merge branch: repo-sync title: Synchronize repository with upstream contents - - name: Checkout branch + - name: Checkout branch uses: actions/checkout@v3 with: persist-credentials: false