Skip to content

Commit 2f9525d

Browse files
Merge branch 'develop' into feature/yamato-trigger-format-project-pack
2 parents 10105e3 + 4c6ae1b commit 2f9525d

File tree

350 files changed

+38336
-76205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

350 files changed

+38336
-76205
lines changed

.gitattributes

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*.skp filter=lfs diff=lfs merge=lfs -text
1919
*.stl filter=lfs diff=lfs merge=lfs -text
2020
*.ztl filter=lfs diff=lfs merge=lfs -text
21-
2221
# Audio
2322
*.aif filter=lfs diff=lfs merge=lfs -text
2423
*.aiff filter=lfs diff=lfs merge=lfs -text
@@ -29,11 +28,9 @@
2928
*.s3m filter=lfs diff=lfs merge=lfs -text
3029
*.wav filter=lfs diff=lfs merge=lfs -text
3130
*.xm filter=lfs diff=lfs merge=lfs -text
32-
3331
# Fonts
3432
*.otf filter=lfs diff=lfs merge=lfs -text
3533
*.ttf filter=lfs diff=lfs merge=lfs -text
36-
3734
# Images
3835
*.bmp filter=lfs diff=lfs merge=lfs -text
3936
*.exr filter=lfs diff=lfs merge=lfs -text
@@ -48,9 +45,9 @@
4845
*.[tT][gG][aA] filter=lfs diff=lfs merge=lfs -text
4946
*.tif filter=lfs diff=lfs merge=lfs -text
5047
*.tiff filter=lfs diff=lfs merge=lfs -text
51-
5248
# Unity
5349
*.unity filter=lfs diff=lfs merge=lfs text
5450
*.prefab binary
5551
*.asset filter=lfs diff=lfs merge=lfs -text
5652
*.anim filter=lfs diff=lfs merge=lfs -text
53+
*.tga filter=lfs diff=lfs merge=lfs -text

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,18 @@
1-
<!---
2-
Thank you for contributing to Unity.
3-
To help us process this pull request we recommend that you add the following information:
4-
- Summary and list of changes in the pull request,
5-
- Issue(s) related to the changes made such as GitHub or Jira,
6-
- Manual testing scenarios if available
7-
Fields marked with (*) are required. Please don't remove the template.
8-
-->
9-
### Description (*)
1+
### Description
102
<!---
113
Please provide a description of the changes proposed in the pull request.
12-
Letting us know what has changed and why it needed changing will help us validate this pull request.
4+
Make sure your commit messages have meaningful information.
5+
To help us link commits and PRs to JIRA work items, please include the JIRA ticket ID in the PR title or at least of your commit messages.
136
-->
14-
### Related Pull Requests
15-
<!-- related pull request placeholder -->
16-
### Issue Number(s) (*)
7+
8+
### Issue Number(s)
179
<!---
1810
Provide a list of fixed issues from Jira (GOMPS-ticketnumber) or GitHub (#issuenumber).
1911
This helps us understand the reasoning behind this change, what it fixes, feature being added, etc.
2012
-->
21-
Fixes issue(s):
22-
### Manual testing scenarios
23-
<!---
24-
Please provide a set of unambiguous steps to test the proposed code change.
25-
If an error is output to either the player or editor log file, please attach.
26-
Giving us manual testing scenarios will help with the processing and validation process.
27-
-->
28-
1. ...
29-
2. ...
30-
### Questions or comments
31-
<!---
32-
If relevant, here you can ask questions or provide comments on your pull request for the reviewer
33-
For example if you need assistance with writing tests or would like some feedback on one of your development ideas or for the reviewer to focus on a particular area of the code.
34-
-->
13+
3514
### Contribution checklist
3615
- [ ] Pull request has a meaningful description of its purpose
3716
- [ ] All commits are accompanied by meaningful commit messages
38-
- [ ] All new or changed code is covered with unit/integration tests (if applicable)
39-
- [ ] All automated tests passed successfully (all builds are green)
17+
- [ ] JIRA ticket ID is in the PR title or at least one commit message
18+
- [ ] Include the ticket ID number within the body message of the PR to create a hyperlink

.github/workflows/leak_detect.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Detect Project ID leak
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
# This workflow contains a single job called "build"
14+
check:
15+
# The type of runner that the job will run on
16+
runs-on: ubuntu-latest
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
- name: Checkout github repo (+ download lfs dependencies)
21+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22+
uses: actions/checkout@v2
23+
with:
24+
lfs: true
25+
- name: Checkout LFS objects # needs to be done as a second step, lfs:true above just sets references, but doesn't actually dereference them...
26+
run: git lfs checkout
27+
# Find in project settings if there's any value in between "cloudProjectId: " and end of line. This exits 1 and fails the step if there's text there.
28+
- name: Run a one-line script
29+
run: python3 -c "import re; import sys;content=open('ProjectSettings/ProjectSettings.asset').read();res = re.search(r'.*cloudProjectId:.*\w+\s*\n', content)!=None;status = 1 if res else 0; print('status '+str(status)); sys.exit(res)"
30+
- name: Post to slack on failure
31+
if: ${{ failure() }}
32+
uses: slackapi/[email protected]
33+
with:
34+
# Slack channel id, channel name, or user id to post message.
35+
# See also: https://api.slack.com/methods/chat.postMessage#channels
36+
channel-id: 'G01H7JP4AP2' # private channel
37+
# For posting a simple plain text message
38+
slack-message: "@here Project ID LEAK DETECTED: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
39+
env:
40+
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} # can be found in https://api.slack.com/apps/

0 commit comments

Comments
 (0)