From 6ec41605d5a5df15fe2c8e3f719874e0dad1aae4 Mon Sep 17 00:00:00 2001 From: Zaran Lalvani Date: Mon, 13 May 2024 23:38:35 -0400 Subject: [PATCH] workflow tweaks --- .github/workflows/bumpgen-core.yml | 1 - action.yml | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bumpgen-core.yml b/.github/workflows/bumpgen-core.yml index 0dab179..e654858 100644 --- a/.github/workflows/bumpgen-core.yml +++ b/.github/workflows/bumpgen-core.yml @@ -23,4 +23,3 @@ jobs: with: path: "./packages/bumpgen-core/" llm_key: ${{ secrets.LLM_API_KEY }} - github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/action.yml b/action.yml index 64f9468..1b83391 100644 --- a/action.yml +++ b/action.yml @@ -10,9 +10,6 @@ inputs: llm_key: description: "LLM API key" required: true - github_token: - description: "GitHub token" - required: true runs: using: "composite" @@ -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/}