fix: prevent forks from auto updating readme

ensure that the Rebuild commit only applies to the ipfs/awesome-ipfs repo
This commit is contained in:
Russell Dempsey 2022-09-28 14:25:48 -07:00 committed by GitHub
parent 8f9a82dd5d
commit 8078b823b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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