|
|
@ -1,13 +1,16 @@
|
|
|
|
name: format
|
|
|
|
name: format
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
workflow_dispatch:
|
|
|
|
pull_request:
|
|
|
|
# pull_request:
|
|
|
|
types: [closed]
|
|
|
|
# types: [closed]
|
|
|
|
branches:
|
|
|
|
# branches:
|
|
|
|
- master
|
|
|
|
# - master
|
|
|
|
|
|
|
|
# schedule:
|
|
|
|
|
|
|
|
# - cron: "0 12 * * *"
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
on_trigger:
|
|
|
|
on_trigger:
|
|
|
|
if: github.event_name == 'workflow_dispatch'
|
|
|
|
# if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
|
|
|
|
|
|
|
|
if: ${{ github.event_name == 'workflow_dispatch' }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|