Merge pull request #293 from nowsprinting/chore/fix-workflow #805
This file contains hidden or 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
| # Copyright (c) 2023-2025 Koji Hasegawa. | |
| # This software is released under the MIT License. | |
| name: Meta file check | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] # Same as default | |
| permissions: {} | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| meta-check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| permissions: | |
| contents: read | |
| actions: read | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| with: | |
| submodules: false | |
| lfs: false | |
| - uses: DeNA/unity-meta-check@a2e35e2c0b652031facd143db6f0a438b49de38a # v4 | |
| - uses: 8398a7/action-slack@1750b5085f3ec60384090fb7c52965ef822e869e # v3 | |
| with: | |
| status: ${{ job.status }} | |
| fields: repo,message,job,pullRequest | |
| mention: here | |
| if_mention: failure | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| if: failure() && github.event.pull_request.head.repo.fork == false # Skip on public fork, because can not read secrets. |