Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

ci: add job condition for auto assign milestone

Minh1411202000fc31b5f2
diff --git a/.github/workflows/auto-assign-milestone.yml b/.github/workflows/auto-assign-milestone.yml
index bdcfafb8b..03f72973d 100644
--- a/.github/workflows/auto-assign-milestone.yml
+++ b/.github/workflows/auto-assign-milestone.yml
@@ -7,6 +7,7 @@ on:
jobs:
assign_milestone:
runs-on: ubuntu-latest
+ if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
permissions:
pull-requests: write
issues: write