From ecf2430f6e4311c844155d0cdad1b55dd9b2afda Mon Sep 17 00:00:00 2001 From: Almeida Date: Sun, 16 Jan 2022 20:24:31 +0000 Subject: [PATCH] ci: dont run auto-deprecated and publish-dev on forks (#7279) --- .github/workflows/auto-deprecate.yml | 1 + .github/workflows/publish-dev.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/auto-deprecate.yml b/.github/workflows/auto-deprecate.yml index c1a1022bf..735d5eccd 100644 --- a/.github/workflows/auto-deprecate.yml +++ b/.github/workflows/auto-deprecate.yml @@ -7,6 +7,7 @@ jobs: auto-deprecate: name: npm auto deprecate runs-on: ubuntu-latest + if: github.repository_owner == 'discordjs' steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index e1306c39c..20151444c 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -7,6 +7,7 @@ jobs: npm: name: npm runs-on: ubuntu-latest + if: github.repository_owner == 'discordjs' steps: - name: Checkout repository uses: actions/checkout@v2