Merge pull request #3 from discretizer/feature/fork_automation

Fix fork automation
This commit is contained in:
Aaron Dalton 2024-01-07 22:44:19 -05:00 committed by GitHub
commit 30e82e67d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View File

@ -77,8 +77,8 @@ jobs:
# This step is being disabled because the runner is on a self-hosted machine # This step is being disabled because the runner is on a self-hosted machine
# where the cache will stick between runs. # where the cache will stick between runs.
- name: Cache Docker layers - name: Cache Docker layers
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: /tmp/.buildx-cache path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }} key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: | restore-keys: |
@ -123,4 +123,3 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
cache-from: type=local,src=/tmp/.buildx-cache cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max

View File

@ -4,9 +4,9 @@ on:
- cron: '2 */12 * * *' - cron: '2 */12 * * *'
jobs: jobs:
synchronize-upstream: synchronize-upstream:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: gh repo sync discretizer/homepage - run: gh repo sync discretizer/homepage
env: env:
GH_TOKEN ${{ secres.GITHUB_ENV }} GH_TOKEN: ${{ secrets.GITHUB_ENV }}