Call the generate changelog workflow from the create release

This commit is contained in:
Riccardo Cipolleschi
2025-03-28 10:44:15 +00:00
parent a0550a61c4
commit c5cf8927e5
4 changed files with 59 additions and 33 deletions
@@ -1,7 +1,6 @@
name: Generate Changelog
on:
pull_request:
workflow_call:
jobs:
@@ -25,5 +24,5 @@ jobs:
with:
script: |
const {generateChangelog} = require('./.github/workflow-scripts/generateChangelog');
const version = 'v0.79.0-rc.3' //"${{ github.ref_name }}";
const version = '${{ github.ref_name }}';
await generateChangelog(version, '${{secrets.REACT_NATIVE_BOT_GITHUB_TOKEN}}');
+5
View File
@@ -237,3 +237,8 @@ jobs:
const {verifyArtifactsAreOnMaven} = require('./.github/workflow-scripts/verifyArtifactsAreOnMaven.js');
const version = "${{ github.ref_name }}";
await verifyArtifactsAreOnMaven(version);
create_changelog:
needs: build_npm_package
uses: ./.github/workflows/generate-changelog.yml
secrets: inherit