Skip to content

Commit

Permalink
fix: test with push webhook. (#18)
Browse files Browse the repository at this point in the history
* fix: test with push webhook.

* fix: trigger for internal PR.
  • Loading branch information
drodarie authored Oct 7, 2024
1 parent 7880970 commit 17e851a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
needs: [isort, black, build]
runs-on: ubuntu-latest
# if the repo is the main one or is triggered manually.
if: ${{ (github.event_name == 'workflow_dispatch') || (github.event.pull_request.head.repo.full_name == github.repository) }}
if: ${{ (github.event_name == 'workflow_dispatch') || (github.event.push.head.repo.full_name == github.repository) }}
outputs:
tag: ${{ steps.semver.outputs.next }}
old_tag: ${{ steps.semver.outputs.current }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Validate Pull Request Name

on:
pull_request:
types: [edited]
types: [edited, opened, reopened]
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 17e851a

Please sign in to comment.