Skip to content

Commit d116c52

Browse files
committed
Update generate-release-notes.yml
1 parent 78d450a commit d116c52

1 file changed

Lines changed: 7 additions & 18 deletions

File tree

.github/workflows/generate-release-notes.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
11
name: Generate Release Notes
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
start_date:
7-
description: 'Start date (format: yyyy-mm-dd)'
8-
required: true
9-
default: '2025-05-06'
10-
end_date:
11-
description: 'End date (format: yyyy-mm-dd)'
12-
required: true
13-
default: '2025-05-30'
14-
154
push:
16-
branches:
17-
- '**'
5+
paths:
6+
- '.github/workflows/generate-release-notes.yml'
187
pull_request:
19-
branches:
20-
- '**'
8+
paths:
9+
- '.github/workflows/generate-release-notes.yml'
2110

2211
jobs:
2312
generate-release-notes:
@@ -27,7 +16,7 @@ jobs:
2716
- name: Checkout repository
2817
uses: actions/checkout@v4
2918
with:
30-
repository: anupriya13/react-native-windows
19+
repository: microsoft/react-native-windows
3120
fetch-depth: 0
3221
ref: ${{ github.head_ref != '' && github.head_ref || github.ref_name }}
3322

@@ -49,8 +38,8 @@ jobs:
4938
env:
5039
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5140
RELEASE_TAG: ${{ steps.get_tag.outputs.tag }}
52-
START_DATE: ${{ github.event.inputs.start_date || '2025-05-06' }}
53-
END_DATE: ${{ github.event.inputs.end_date || '2025-05-30' }}
41+
START_DATE: '2025-05-06' # Adjust this date as needed
42+
END_DATE: '2025-05-30' # Adjust this date as needed
5443
run: |
5544
python .github/scripts/generate_release_notes.py > release_notes.md
5645
mkdir -p .github/release_notes

0 commit comments

Comments
 (0)