name: CI

on:
  push:
    paths:
    - "github-dark.user.css"

jobs:
  build:

    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v1
    - name: Replace version number
      run: awk -F'[[:space:]]+|[.]' '/^@version/ {print $1,"       "$2"."$3"."$4+1}' github-dark.user.css
    - uses: docker://cdssnc/auto-commit-github-action
      with:
        args: "Update version"
      env: 
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

name: CI

on:
  push:
    paths:
    - "github-dark.user.css"

jobs:
  build:

    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v1
    - name: Replace version number
      run: awk -F'[[:space:]]+|[.]' '/^@version/ {print $1,"       "$2"."$3"."$4+1}' github-dark.user.css
    - uses: stefanzweifel/git-auto-commit-action@v2.0.0
      with:
        commit_author_email: tyler.b.thrailkill@gmail.com
        commit_author_name: Tyler Thrailkill
        commit_message: Update github-dark.user.css version
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Use new v2 actions commit rather than docker
Use new v2 actions commit rather than docker
