Skip to content

Commit

Permalink
Cannon Update action (#2308)
Browse files Browse the repository at this point in the history
  • Loading branch information
noisekit authored Sep 25, 2024
1 parent 957e441 commit e57e95f
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/cannon-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: cannon-update

on:
workflow_dispatch:
inputs:
cannon_tag:
description: "Cannon Tag"
required: true
default: latest
type: choice
options:
- latest
- hotfix
- alpha

jobs:
cannon-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn

- run: yarn install --immutable
- run: yarn cannon:${{ inputs.cannon_tag }}

- uses: peter-evans/create-pull-request@v7
with:
title: "Cannon Update: ${{ inputs.cannon_tag }}"
commit-message: "Cannon Update: ${{ inputs.cannon_tag }}"
body: ""
branch: cannon-${{ inputs.cannon_tag }}
reviewers: noisekit, dbeal-eth
labels: dependabot, cannon
draft: true
add-paths: .

0 comments on commit e57e95f

Please sign in to comment.