-
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 928 Bytes
/
metacheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (c) 2020-2023 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
jobs:
meta-check:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- uses: actions/checkout@v3
with:
submodules: false
lfs: false
- uses: DeNA/unity-meta-check@v3
- uses: 8398a7/action-slack@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.repository_owner == 'nowsprinting' # Skip on public fork, because can not read secrets.