morph-labs / rift

Rift: an AI-native language server for your personal AI software engineer
https://morph.so
Apache License 2.0
3.08k stars 149 forks source link

dev.yml has hardcoded username #238

Open evelynmitchell opened 9 months ago

evelynmitchell commented 9 months ago

This is poor code hygiene. Use ${{ github.actor }} to get the username.

      - name: commit prettier formatting
        if: steps.git-check.outputs.modified == 'true'
        run: |
          git config --global user.name "kataqatsi"
          git config --global user.email "kataqatsi@gmail.com"
          git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TO
KEN }}@github.com/${{ github.repository }}
          git commit -am "chore: format code with Prettier"
          git push
        working-directory: editors/rift-vscode