From 69f5e3a4d0073df9d877144b8ce3ee4d5777f5cb Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Thu, 2 Nov 2023 11:09:13 +0800 Subject: [PATCH 1/2] ci: make stale check only work in source repo --- .github/workflows/stale.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 90cb584..d826763 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -19,6 +19,7 @@ jobs: steps: - uses: actions/stale@v5 + if: githhub.repository == 'Soulter/hugging-chat-api' with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'This issue was marked as stale because of inactivity' From c5533656a99383bb77438e892c2823281d0c7f13 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Thu, 2 Nov 2023 21:17:57 +0800 Subject: [PATCH 2/2] chore: limit repository --- .github/workflows/greetings.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 855d347..61d4888 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -10,6 +10,7 @@ jobs: pull-requests: write steps: - uses: actions/first-interaction@v1 + if: githhub.repository == 'Soulter/hugging-chat-api' with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: "Hi! Thanks for your issue, we will deal with your issue as soon as possible."