This commit is contained in:
osaajani 2020-09-03 00:09:42 +02:00
parent a14dc038f7
commit 2c942e302f
1 changed files with 4 additions and 2 deletions

View File

@ -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 }}