Update actions/labeler action to v5 #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Formatter | |
on: | |
pull_request: {} | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git checkout | |
uses: actions/[email protected] | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.WALL_BREW_BOT_PAT }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
# Table of Contents Tool: https://github.com/thlorenz/doctoc | |
- name: Install Doctoc | |
run: npm install -g doctoc | |
- name: Update Markdown Files | |
run: doctoc README.md --github | |
- name: Commit changes | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: | | |
[Format] Auto-formatting |