You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The CLA assistant workflow must have write scope for pull request comments, and so must be ran on pull_request_target, and issue comments.
4
+
on:
5
+
issue_comment:
6
+
types: [created]
7
+
pull_request_target:
8
+
types: [opened,closed,synchronize]
9
+
10
+
# Explicit permissions
11
+
permissions:
12
+
actions: write
13
+
contents: read
14
+
pull-requests: write
15
+
statuses: write
16
+
17
+
jobs:
18
+
CLAAssistant:
19
+
# Only run the job at all for pull_request_targets or comments which contain one of two strings.
20
+
# Contains is used to allow whitespace in the comment which is checked in an inner step.
21
+
if: github.event_name == 'pull_request_target' || (contains(github.event.comment.body, 'recheck') || contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA'))
22
+
runs-on: ubuntu-latest
23
+
steps:
24
+
# If triggered by an issue comment, compare a trimmed version to allow for additional whitespace.
25
+
# Uses JS to avoid having to do shell character escaping nicely
26
+
- name: "Check comment"
27
+
id: check_trimmed_comment
28
+
if: github.event_name == 'issue_comment'
29
+
uses: actions/github-script@v8
30
+
with:
31
+
script: |
32
+
const comment = context.payload.comment.body;
33
+
const trimmed = comment.trim();
34
+
if (trimmed === 'recheck' || trimmed === 'I have read the CLA Document and I hereby sign the CLA') {
35
+
return 'true';
36
+
} else {
37
+
return 'false';
38
+
}
39
+
result-encoding: string
40
+
41
+
# For pull_request_triggers, or comments which contained (whitespace wrapped) trigger phrases, run the contributor assistant
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,16 @@ Similarly if submitting a new example model, it will need to include it's own `C
77
77
This ensure that users on both Linux and Windows can continue to build FLAME GPU 2.
78
78
79
79
## License
80
-
By contributing your code, you agree to license your contribution under the [MIT License](LICENSE.md).
80
+
81
+
FLAME GPU is available under two licenses:
82
+
83
+
-[AGPL-3.0-only license](https://github.com/FLAMEGPU/FLAMEGPU2/blob/master/LICENSE.md) for open source usage
84
+
- A commercial licenses for cases where the use of the open source AGPL-licensed version is not possible or desirable. Please see [flamegpu.com/license/download/](https://flamegpu.com/download/license/) for more information.
85
+
86
+
### Contributor License Agreement (CLA)
87
+
88
+
Before we can accept your pull request, you need to sign our [CLA](https://flamegpu.com/cla/) so that we can redistribute any changes via our dual license model.
89
+
Our CLA assistant should check and prompt you to sign the CLA when you create your pull request.
0 commit comments