From 8078b823b44fceede81b00df5d6fcfd5e91b5fdb Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Wed, 28 Sep 2022 14:25:48 -0700 Subject: [PATCH] fix: prevent forks from auto updating readme ensure that the Rebuild commit only applies to the ipfs/awesome-ipfs repo --- .github/workflows/data.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/data.yml b/.github/workflows/data.yml index a4c6bda..aaaab2b 100644 --- a/.github/workflows/data.yml +++ b/.github/workflows/data.yml @@ -10,14 +10,13 @@ on: jobs: build: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: "!contains(github.event.head_commit.message, '[skip ci]') && ${{ github.repository == 'ipfs/awesome-ipfs' }}" steps: - uses: actions/checkout@v2.3.4 - uses: actions/setup-node@v1.4.4 with: node-version: 13 - name: build -# env: run: | npm --version node --version