set correct names to artifact #21
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: CFFormat | |
on: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [cfformat] | |
push: | |
branches-ignore: | |
- "main" | |
- "development" | |
paths: # Only run if *.cfc or github workflows are modified | |
- '**.cfc' | |
- '.github/workflows/*.yml' | |
pull_request: | |
branches: | |
- development | |
paths: # Only run if *.cfc or github workflows are modified | |
- '**.cfc' | |
- '.github/workflows/*.yml' | |
jobs: | |
# Format PR | |
format: | |
name: Format | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- uses: Ortus-Solutions/[email protected] | |
with: | |
cmd: run-script format | |
- name: Commit Format Changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply cfformat changes |