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
workflow_dispatch: # Manually trigger the workflow through GitHub UI
7
+
8
+
jobs:
9
+
stale:
10
+
runs-on: ubuntu-latest
11
+
concurrency:
12
+
group: ${{ github.workflow }} # Prevent parallel workflows for the same workflow
13
+
cancel-in-progress: false # Does not cancel the running workflow, waits for it to finish
14
+
permissions:
15
+
contents: write
16
+
issues: write
17
+
pull-requests: write
18
+
actions: write
19
+
20
+
steps:
21
+
- name: Mark stale issues and PRs
22
+
uses: actions/[email protected]# Use the latest version of the Stale Action
23
+
with:
24
+
# Label to apply to stale issues
25
+
stale-issue-label: 'stale'
26
+
27
+
# Label to apply to stale pull requests
28
+
stale-pr-label: 'stale'
29
+
30
+
# Number of days before an issue/PR is marked as stale
31
+
days-before-stale: 180# If the issue/PR has been inactive for 180 days, it will be marked as stale
32
+
33
+
# Number of days before a stale issue/PR is closed
34
+
days-before-close: 7# If the stale issue/PR has been inactive for 7 days day, it will be closed
35
+
36
+
# Option to close stale issues and PRs
37
+
close-issue-label: 'closed'# Close issues that are marked as stale
38
+
close-pr-label: 'closed'# Close PRs that are marked as stale
39
+
40
+
# Exclude issues and PRs that have certain labels from being marked stale
41
+
exempt-issue-labels: 'closed'# Ignore issues with 'closed' label
42
+
exempt-pr-labels: 'closed'# Ignore PRs with 'closed' label
43
+
44
+
# Custom message for stale issues
45
+
stale-issue-message: 'This issue has been marked as stale because it has not had activity for 180 days. It will be closed in 7 days if no further activity occurs.'
46
+
47
+
# Custom message for stale pull requests
48
+
stale-pr-message: 'This pull request has been marked as stale because it has not had activity for 180 day. It will be closed in 7 days if no further activity occurs.'
49
+
50
+
# Remove the stale label when an issue/PR is updated/comments
51
+
remove-issue-stale-when-updated: true # Remove the stale label when an issue is updated
52
+
remove-pr-stale-when-updated: true # Remove the stale label when a PR is updated
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,12 @@ Should you wish to work on an issue, please claim it first by commenting on the
22
22
23
23
If you have questions about one of the issues, please comment on them, and one of the maintainers will clarify.
24
24
25
+
## Contributing with AI-generated code
26
+
27
+
As artificial intelligence evolves, AI-generated code is becoming valuable for many software projects, including open-source initiatives. While we recognize the potential benefits of incorporating AI-generated content into our open-source projects there a certain requirements that need to be reflected and adhered to when making contributions.
28
+
29
+
Please see our [guideline for AI-generated code contributions to SAP Open Source Software Projects](CONTRIBUTING_USING_GENAI.md) for these requirements.
30
+
25
31
## Contributing Code or Documentation
26
32
27
33
You are welcome to contribute code in order to fix a bug or to implement a new feature that is logged as an issue.
# Guideline for AI-generated code contributions to SAP Open Source Software Projects
2
+
3
+
As artificial intelligence evolves, AI-generated code is becoming valuable for many software projects, including open-source initiatives. While we recognize the potential benefits of incorporating AI-generated content into our open-source projects there are certain requirements that need to be reflected and adhered to when making contributions.
4
+
5
+
When using AI-generated code contributions in OSS Projects, their usage needs to align with Open-Source Software values and legal requirements. We have established these essential guidelines to help contributors navigate the complexities of using AI tools while maintaining compliance with open-source licenses and the broader [Open-Source Definition](https://opensource.org/osd).
6
+
7
+
AI-generated code or content can be contributed to SAP Open Source Software projects if the following conditions are met:
8
+
9
+
1.**Compliance with AI Tool Terms and Conditions**: Contributors must ensure that the AI tool's terms and conditions do not impose any restrictions on the tool's output that conflict with the project's open-source license or intellectual property policies. This includes ensuring that the AI-generated content adheres to the [Open-Source Definition](https://opensource.org/osd).
10
+
2.**Filtering Similar Suggestions**: Contributors must use features provided by AI tools to suppress responses that are similar to third-party materials or flag similarities. We only accept contributions from AI tools with such filtering options. If the AI tool flags any similarities, contributors must review and ensure compliance with the licensing terms of such materials before including them in the project.
11
+
3.**Management of Third-Party Materials**: If the AI tool's output includes pre-existing copyrighted materials, including open-source code authored or owned by third parties, contributors must verify that they have the necessary permissions from the original owners. This typically involves ensuring that there is an open-source license or public domain declaration that is compatible with the project's licensing policies. Contributors must also provide appropriate notice and attribution for these third-party materials, along with relevant information about the applicable license terms.
12
+
4.**Employer Policies Compliance**: If AI-generated content is contributed in the context of employment, contributors must also adhere to their employer’s policies. This ensures that all contributions are made with proper authorization and respect for relevant corporate guidelines.
0 commit comments