chore: bumpgen workflow fixes #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Bumpgen (core)" | |
on: | |
pull_request: | |
types: | |
- opened | |
- labeled | |
permissions: | |
pull-requests: read | |
jobs: | |
main: | |
name: Run Bumpgen | |
runs-on: ubuntu-latest | |
env: | |
GITHUB: ${{ github }} | |
# Need to run on all commits on PRs opened by dependabot except those committed by bumpgen | |
# This might not work | |
if: ${{ github.actor == 'dependabot[bot]' || contains( github.event.pull_request.labels.*.name, 'run bumpgen') }} | |
steps: | |
- name: Print github obj | |
run: echo $GITHUB | |
- uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./tooling/github/setup | |
- name: Bumpgen | |
uses: ./ | |
with: | |
path: "./packages/bumpgen-core/" | |
llm_key: ${{ secrets.LLM_API_KEY }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} |