diff --git a/.github/workflows/keywords-generator.yml b/.github/workflows/keywords-generator.yml index fd3ea5bb16..f06b9d0b30 100644 --- a/.github/workflows/keywords-generator.yml +++ b/.github/workflows/keywords-generator.yml @@ -38,16 +38,13 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: python3 .github/keywords/keywords-generator.py - - name: Switch to the pull request branch - run: | - git checkout ${{ github.head_ref }} - - name: Commit & Push env: GITHUB_TOKEN: ${{ secrets.NOVUM_PRIVATE_REPOS }} run: | git config user.name "github-actions" git config user.email "github-actions[bot]@users.noreply.github.com" + git checkout -b import-figma-icons git add . git commit -m "Icons keywords updated" git push origin ${{ github.head_ref }}