From a14dc038f72398503564b9cf1d95df8c6d3dfa7b Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Thu, 3 Sep 2020 00:08:09 +0200 Subject: [PATCH] . --- .github/workflows/codestyle.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 79046b6..c0bc385 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -27,9 +27,12 @@ jobs: run: | git add --all git commit -m "Fix codestyle." || exit 0 - echo ${${{ github.ref }}#refs/heads/} - name: Push changes # push the modif to repo + run: | + git_branch=${{ github.ref }} + git_branch=${git_branch#refs/heads/} + echo $git_branch uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }}