From 3f6f920f22402fbd8c8886b7656cd2b15d3bb0b3 Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Tue, 2 Jan 2024 12:01:32 -0500 Subject: [PATCH] ci: delete sync-fork action superseded by https://github.com/CCBR/.github/pull/10 --- .github/workflows/sync-fork.yml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 .github/workflows/sync-fork.yml diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml deleted file mode 100644 index b071f8e..0000000 --- a/.github/workflows/sync-fork.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Sync Fork - -on: - schedule: - - cron: '8 11 * * *' # once every day - workflow_dispatch: # on button click - push: - paths: - - .github/workflows/sync-fork.yml - -permissions: - contents: write - -env: - GH_TOKEN: ${{ github.token }} - UPSTREAM_OWNER: CCBR - -jobs: - sync: - runs-on: ubuntu-latest - strategy: - matrix: - FORK_OWNER: [NCIPangea] - steps: - - name: sync fork - # only run this action from the forked repo - if: ${{ github.repository_owner == matrix.FORK_OWNER }} - run: | - # required for actions scheduled via cron, as github.event.repository.name won't work - REPO=$(basename ${{ github.repository }}) - # sync the fork from upstream - gh repo sync ${{ github.repository }} --source $UPSTREAM_OWNER/$REPO --force