Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions workflow-templates/create-release-pr.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
name: Create Release Pull Request

on: [create]
on:
workflow_dispatch:
inputs:
release-version:
description: 'A specific version to bump to.'
required: true

jobs:
release_pr:
if: ${{startsWith(github.ref, 'refs/heads/release-v')}}
release-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# This is to guarantee that the most recent tag is fetched.
# This can be configured to a more reasonable value by consumers.
fetch-depth: 0
Comment thread
lannathompson65-arch marked this conversation as resolved.
- name: Get Node.js version
id: nvm
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- uses: MetaMask/action-create-release-pr@0.0.7
- uses: MetaMask/action-create-release-pr@v0.0.16
with:
release-version: ${{ github.event.inputs.release-version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}