Skip to content

Commit 13aacc1

Browse files
authored
Add workflow_dispatch trigger to stale issue checker (#2334)
Signed-off-by: Sun, Xuehao <[email protected]>
1 parent 3fdde38 commit 13aacc1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/check-stale-issue.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ permissions:
77
on:
88
schedule:
99
- cron: "30 22 * * *"
10+
workflow_dispatch:
1011

1112
jobs:
1213
stale:
@@ -18,3 +19,4 @@ jobs:
1819
days-before-issue-close: 7
1920
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days."
2021
close-issue-message: "This issue was closed because it has been stalled for 7 days with no activity."
22+
operations-per-run: 500

.github/workflows/pr-code-sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
else
3434
echo "SHAs are not aligned. Internal SHA: $internal_sha, External SHA: $external_sha"
3535
fi
36-
37-
git clone --depth=1 -b $EXTERNAL_BRANCH https://${{ secrets.REPO_SYNC_USER_NAME }}:${{ secrets.REPO_SYNC_SSH_PRIVATE_KEY }}@github.com/${EXTERNAL_REPO}.git neural-compressor
36+
37+
git clone --depth=1 -b $EXTERNAL_BRANCH https://${{ secrets.REPO_SYNC_USER_NAME }}:${{ secrets.REPO_SYNC_SSH_PRIVATE_KEY }}@github.com/${EXTERNAL_REPO}.git neural-compressor
3838
cd neural-compressor
3939
git remote add innersource https://${{ secrets.REPO_SYNC_USER_NAME }}:${{ secrets.REPO_SYNC_SSH_PRIVATE_KEY }}@github.com/${INNERSOURCE_REPO}.git
4040
git fetch innersource ${INNERSOURCE_BRANCH} --depth=100

0 commit comments

Comments
 (0)