From 7cc752cb90b9f341b944bd0e095f3c64f592b3cb Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Tue, 9 Jan 2024 08:21:48 -0500 Subject: [PATCH 1/3] Fix environment variable --- .github/workflows/fork-sync.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fork-sync.yml b/.github/workflows/fork-sync.yml index fb1114f0..6f1bf5a1 100644 --- a/.github/workflows/fork-sync.yml +++ b/.github/workflows/fork-sync.yml @@ -8,5 +8,5 @@ jobs: runs-on: ubuntu-latest steps: - run: gh repo sync discretizer/homepage - env: - GH_TOKEN ${{ secres.GITHUB_ENV }} \ No newline at end of file + env: + GH_TOKEN: ${{ github.token }} From a0b9f0eb1f19b72217fd93134dbcd81e4384a6f7 Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Wed, 10 Jan 2024 13:07:11 -0500 Subject: [PATCH 2/3] Spacing issue --- .github/workflows/docker-publish.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 3d20bfab..46651b7b 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -77,12 +77,12 @@ jobs: # This step is being disabled because the runner is on a self-hosted machine # where the cache will stick between runs. - name: Cache Docker layers - uses: actions/cache@v3 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- + uses: actions/cache@v3 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- # Login against a Docker registry except on PR # https://github.com/docker/login-action @@ -123,4 +123,3 @@ jobs: platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - From dc3e2a2acb63d9d5f7e11d439075aa8e59c3ef59 Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Wed, 10 Jan 2024 13:11:50 -0500 Subject: [PATCH 3/3] Fix spacing --- .github/workflows/fork-sync.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/fork-sync.yml b/.github/workflows/fork-sync.yml index 6f1bf5a1..36ca5a95 100644 --- a/.github/workflows/fork-sync.yml +++ b/.github/workflows/fork-sync.yml @@ -4,9 +4,9 @@ on: - cron: '2 */12 * * *' jobs: - synchronize-upstream: - runs-on: ubuntu-latest - steps: + synchronize-upstream: + runs-on: ubuntu-latest + steps: - run: gh repo sync discretizer/homepage env: GH_TOKEN: ${{ github.token }}