Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 47a0ad4

Browse files
authored
Update monthly_release.yml
1 parent abb576d commit 47a0ad4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/monthly_release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
2020

21+
- name: Check for commits in the last 30 days
22+
run: |
23+
git fetch origin master
24+
COMMITS=$(git rev-list --count --since="30 days ago" origin/master)
25+
echo "Commits in last 30 days: $COMMITS"
26+
if [ "$COMMITS" -eq 0 ]; then
27+
echo "No commits in the last 30 days. Skipping release."
28+
exit 0
29+
fi
30+
shell: bash
31+
2132
- name: Build OSCR Release
2233
run: |
2334
@chcp 65001 > nul

0 commit comments

Comments
 (0)