Skip to content

Commit

Permalink
workflow tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
zlalvani committed May 14, 2024
1 parent 68328c0 commit 6ec4160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/bumpgen-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ jobs:
with:
path: "./packages/bumpgen-core/"
llm_key: ${{ secrets.LLM_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 2 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ inputs:
llm_key:
description: "LLM API key"
required: true
github_token:
description: "GitHub token"
required: true

runs:
using: "composite"
Expand All @@ -31,9 +28,9 @@ runs:
- shell: bash
name: Check for changes and commit
env:
GITHUB_TOKEN: ${{ inputs.github_token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git add -A
git add -u
if ! git diff-index --quiet HEAD; then
git commit -m "chore: run bumpgen"
git push origin HEAD:${GITHUB_REF#refs/heads/}
Expand Down

0 comments on commit 6ec4160

Please sign in to comment.