Merge pull request #101 from ollama4j/update-pre-commit-hook

update-pre-commit-hook
This commit is contained in:
Amith Koujalgi 2025-03-11 10:34:10 +05:30 committed by GitHub
commit 18c5d06a6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,7 @@
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path # For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
name: Build on PR Create name: Build and Test on PR Open
on: on:
pull_request: pull_request:
@ -15,7 +15,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
packages: write
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -1,10 +1,9 @@
name: Run Unit and Integration Tests name: Run Unit and Integration Tests
on: on:
push: # push:
branches: # branches:
- main # - main
workflow_dispatch: workflow_dispatch:
inputs: inputs:
branch: branch: