Tabifier Action
Want to work at Piep Piper? You must use this action in all of your repository!
This action converts leading whitespaces in your repository to tabs. Richard Hendricks will be happy!
This action takes 1 optional input - tabLength
(default value is 4 - means 4
spaces will be replaced by 1 tab. The values are always rounded up, e.g. 7
spaces will be replaced by 2 tabs). Note that, files inside .github
directory
are ignored.
Here is an example workflow:
name: Tabify
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Repo checkout
uses: actions/checkout@v2
- name: Tabify
uses: ayan-b/tabifier-action@master
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
with:
tabLength: 4
- name: Commit and push
run: |
git status
git add .
git config --global user.name "github-actions[bot]"
β¦