Skip to content

Commit

Permalink
chore: add bumpgen action for CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
zlalvani committed May 17, 2024
1 parent 57c67fd commit 343b81f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/bumpgen-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Bumpgen"

on:
pull_request:
paths:
- "apps/cli/**"
types:
- opened
- synchronize
- labeled
- unlabeled

permissions:
pull-requests: read
contents: write

jobs:
main:
name: Run Bumpgen
runs-on: ubuntu-latest
if: ${{ (github.event.pull_request.user.login == 'dependabot[bot]' || contains( github.event.pull_request.labels.*.name, 'run bumpgen')) && github.event.pull_request.commits[0].author.username != 'github-actions[bot]'}}
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Bumpgen
uses: ./
with:
path: "./apps/cli/"
llm_key: ${{ secrets.LLM_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 343b81f

Please sign in to comment.