mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8414f90a6f
See associated pull request for more information.
25 lines
702 B
YAML
25 lines
702 B
YAML
name: Publish Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- '[0-9]+.[0-9]+.x'
|
|
workflow_dispatch: # Allow manual trigger for verification
|
|
|
|
# Ensure only one release runs at a time PER BRANCH to avoid race conditions.
|
|
concurrency:
|
|
group: release-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
|
|
permissions:
|
|
contents: read # Required to checkout the repository
|
|
id-token: write # Required for NPM provenance in reusable workflow
|
|
|
|
jobs:
|
|
release:
|
|
uses: angular/dev-infra/.github/workflows/reusable-release.yml@183403ae13b785698eaf13c819dda55b9fed430b # main
|
|
secrets:
|
|
wombot-token: ${{ secrets.WOMBOT_TOKEN }}
|
|
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
|