This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Internal change #717
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Draft GitHub Release | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
draft-github-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
# We need to fetch the full repository in order to write complete | |
# release notes. | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: current | |
- name: Run Release Draft Script | |
run: | | |
cd scripts/release | |
npm ci | |
npm start | |
env: | |
# A GitHub API token is required to create a new GitHub release. | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |