Hitダメージの同期処理を追加 (#672) #343
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: lint-datapack | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
linter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: lint | |
# ref: https://github.com/github/super-linter | |
uses: super-linter/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# ACTIONS_RUNNER_DEBUG: true | |
DEFAULT_BRANCH: 1-21-1-dev | |
OUTPUT_FORMAT: tap | |
OUTPUT_DETAILS: detailed | |
DISABLE_ERRORS: false | |
VALIDATE_ALL_CODEBASE: true | |
ENABLE_GITHUB_ACTIONS_STEP_SUMMARY: true | |
SAVE_SUPER_LINTER_SUMMARY: true | |
- name: upload reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: super-linter | |
path: super-linter.report/ | |
- name: Commit and push linting fixes | |
if: > | |
github.event_name == 'pull_request' && | |
github.ref_name != github.event.repository.default_branch | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }} | |
commit_message: "NO-ISSUE Fix linting issues" | |
commit_user_name: super-linter | |
commit_user_email: [email protected] | |
# jobs: | |
# lint: | |
# name: lint | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: checkout repository | |
# uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 0 | |
# # https://github.com/ChenCMD/datapack-linter | |
# - name: lint | |
# uses: ChenCMD/datapack-linter@v2 | |
# with: | |
# GITHUB_TOKEN: ${{ github.token }} |