Skip to content

Commit

Permalink
test-project action
Browse files Browse the repository at this point in the history
  • Loading branch information
zlalvani committed May 16, 2024
1 parent e8d7583 commit 8695aa2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/bumpgen-core.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: "Bumpgen (core)"
name: "Bumpgen"

on:
pull_request:
paths:
- "packages/bumpgen-core/**"
types:
- opened
- synchronize
- labeled
- unlabeled

permissions:
pull-requests: read
contents: write

jobs:
main:
name: Run Bumpgen
runs-on: ubuntu-latest
# Need to run on all commits on PRs opened by dependabot except those committed by bumpgen
# This might not work
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]'}}
# if: ${{ github.actor == 'dependabot[bot]' || contains( github.event.pull_request.labels.*.name, 'run bumpgen') }}
steps:
- name: Print github obj
run: echo '${{ toJson(github) }}'
- uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
Expand Down

0 comments on commit 8695aa2

Please sign in to comment.