mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
fix(pre-commit): push properly version 3
This commit is contained in:
parent
3058060e2b
commit
8fa77bc93e
1 changed files with 4 additions and 1 deletions
5
.github/workflows/pre-commit.yml
vendored
5
.github/workflows/pre-commit.yml
vendored
|
@ -14,6 +14,9 @@ concurrency:
|
|||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
@ -54,7 +57,7 @@ jobs:
|
|||
git commit -m "Apply pre-commit fixes"
|
||||
|
||||
# push to the PR branch
|
||||
git push origin HEAD:${{ github.ref }}
|
||||
git push origin HEAD:${{ github.head_ref }}
|
||||
echo "Pre-commit fixes committed and pushed"
|
||||
else
|
||||
echo "No changes to commit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue