Skip to content

Commit

Permalink
ci: allow to select branch for release alpha workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopf committed Sep 3, 2024
1 parent 6201c6a commit 2759586
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .github/actions/release-alpha/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ inputs:
runs:
using: 'composite'
steps:
- name: Configure git user
run: |
git config --local user.email "[email protected]"
git config --local user.name "empathy/x"
shell: bash

- name: Configure npm auth
run: |
npm config set registry="https://registry.npmjs.org/"
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Release alpha version on demand
on: [workflow_dispatch]
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to release from'
required: true
default: 'main'
jobs:
release-alpha:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,5 +41,5 @@ jobs:
- name: execute release-alpha action
uses: ./.github/actions/release-alpha
with:
npm_token: ${{ secrets.NPM_TOKEN_GRANULAR_ACCESS }}
npm_token: ${{ secrets.NPM_TOKEN }}
github_token: ${{ steps.app-token.outputs.token }}

0 comments on commit 2759586

Please sign in to comment.