This commit is contained in:
parent
a14dc038f7
commit
2c942e302f
|
@ -27,12 +27,14 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m "Fix codestyle." || exit 0
|
git commit -m "Fix codestyle." || exit 0
|
||||||
|
|
||||||
- name: Push changes # push the modif to repo
|
- name: Get branch name
|
||||||
run: |
|
run: |
|
||||||
git_branch=${{ github.ref }}
|
git_branch=${{ github.ref }}
|
||||||
git_branch=${git_branch#refs/heads/}
|
git_branch=${git_branch#refs/heads/}
|
||||||
echo $git_branch
|
echo $git_branch
|
||||||
|
|
||||||
|
- name: Push changes # push the modif to repo
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue