Skip to content

Commit

Permalink
refactor: Update calls to action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragdata committed Jul 27, 2024
1 parent 5f9f319 commit 4d0a923
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 2 additions & 5 deletions templates/release-manager.call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name: Ragdata's Release Manager - Caller

on:
# Allows for manual triggering via the Actions tab
workflow-dispatch:
workflow_dispatch:
inputs:
version:
description: "Release version"
Expand All @@ -24,9 +24,6 @@ on:
description: "Bump Type (patch/minor/major)"
required: false
type: string
secrets:
token:
required: true

jobs:

Expand All @@ -38,4 +35,4 @@ jobs:
version: ${{ inputs.version }}
type: ${{ inputs.type }}
secrets:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 2 additions & 4 deletions templates/release-manager.flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
########################################################
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

########################################################
# Transcribe Input Variables to ENV
Expand All @@ -68,6 +66,6 @@ jobs:
# Manage Release
########################################################
- name: Manage Release
uses: ragdata/release-manager-action@master
uses: ragdata/release-manager.action@master
env:
GITHUB_TOKEN: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions templates/release-manager.reuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
########################################################
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.token }}

########################################################
# Transcribe Input Variables to ENV
Expand All @@ -64,6 +62,6 @@ jobs:
# Manage Release
########################################################
- name: Manage Release
uses: ragdata/release-manager-action@master
uses: ragdata/release-manager.action@master
env:
GITHUB_TOKEN: ${{ secrets.token }}

0 comments on commit 4d0a923

Please sign in to comment.