Switch to add-header-action@dev #2
Workflow file for this run
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: Add header | |
on: | |
workflow_dispatch: # Allow manually running | |
push: | |
branches: | |
- api | |
jobs: | |
build: | |
name: Add headers | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Add header action step | |
uses: minituff/add-header-action@dev # Force dev branch | |
with: | |
dry-run: true | |
verbose: true | |
env: | |
FORCE_COLOR: "1" # Optional: Shows color output in GitHub console. | |
- name: Commit changes back to repo | |
uses: stefanzweifel/git-auto-commit-action@v5 |