mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +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:
|
jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
@ -54,7 +57,7 @@ jobs:
|
||||||
git commit -m "Apply pre-commit fixes"
|
git commit -m "Apply pre-commit fixes"
|
||||||
|
|
||||||
# push to the PR branch
|
# 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"
|
echo "Pre-commit fixes committed and pushed"
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue