Skip to content

Commit e316341

Browse files
committed
limit to our repo in case someone forks it
1 parent 57175f4 commit e316341

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/new-files-report.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
report:
9+
if: github.repository == 'segmentio/segment-docs'
910
runs-on: ubuntu-latest
1011
permissions:
1112
issues: write
@@ -18,10 +19,10 @@ jobs:
1819
- name: Generate report
1920
id: report
2021
run: |
21-
echo "## New files added since September 17, 2025" > report.md
22+
echo "## New Files Since August 30, 2025" > report.md
2223
echo "" >> report.md
2324
24-
FILES=$(git log --since="2025-09-17" --diff-filter=A --name-only --pretty=format:"" -- src/ 2>/dev/null | grep -v '^$' | sort -u || echo "")
25+
FILES=$(git log --since="2025-08-30" --diff-filter=A --name-only --pretty=format:"" -- src/ 2>/dev/null | grep -v '^$' | sort -u || echo "")
2526
2627
if [ -z "$FILES" ]; then
2728
echo "No new files found." >> report.md
@@ -50,8 +51,8 @@ jobs:
5051
github.rest.issues.create({
5152
owner: context.repo.owner,
5253
repo: context.repo.repo,
53-
title: `New files report - ${today}`,
54+
title: `New Files Report - ${today}`,
5455
body: report,
5556
labels: ['migration'],
56-
assignees: ['pwseg']
57+
assignees: ['daseg']
5758
});

0 commit comments

Comments
 (0)