Skip to content

DONT_MERGE: GitHub Actions Playground #32

DONT_MERGE: GitHub Actions Playground

DONT_MERGE: GitHub Actions Playground #32

name: unity-meta-check-pr
on: pull_request
jobs:
unity-meta-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# NOTE: Test no arguments for pull_request
- uses: DeNA/[email protected]
# NOTE: Test full features
- uses: DeNA/[email protected]
with:
target_path: .
log_level: DEBUG
ignored_file_path: .meta-check-ignore
enable_autofix: true
autofix_globs: .
enable_junit: true
junit_xml_path: junit.xml
enable_pr_comment: true
pr_comment_lang: en
pr_comment_send_success: true
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: always()
- name: See how autofix did
run: git status
if: always()
- uses: mikepenz/action-junit-report@v3
with:
report_paths: junit.xml
detailed_summary: true
if: always()
- uses: actions/upload-artifact@v4
with:
name: junit-test-report
path: junit.xml
if: always()