From 0059b85bca2a046218a0c263304cbdab8a520af7 Mon Sep 17 00:00:00 2001 From: h1alexbel Date: Wed, 5 Jun 2024 17:06:40 +0300 Subject: [PATCH] feat(#35): license --- github-api/github.yml | 165 ++++++++++++++++++++++++------------------ 1 file changed, 93 insertions(+), 72 deletions(-) diff --git a/github-api/github.yml b/github-api/github.yml index f97f79d2..9fbbda50 100644 --- a/github-api/github.yml +++ b/github-api/github.yml @@ -1,3 +1,24 @@ +# The MIT License (MIT) +# +# Copyright (c) 2024 Aliaksei Bialiauski +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. --- openapi: 3.1.0 info: @@ -178,7 +199,7 @@ paths: in: query description: |- If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned. - + Example: `cwes=79,284,22` or `cwes[]=79&cwes[]=284&cwes[]=22` schema: oneOf: @@ -196,7 +217,7 @@ paths: description: |- If specified, only return advisories that affect any of `package` or `package@version`. A maximum of 1000 packages can be specified. If the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages. - + Example: `affects=package1,package2@1.0.0,package3@^2.0.0` or `affects[]=package1&affects[]=package2@1.0.0` schema: oneOf: @@ -209,7 +230,7 @@ paths: in: query description: |- If specified, only return advisories that were published on a date or date range. - + For more information on the syntax of the date range, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." schema: type: string @@ -217,14 +238,14 @@ paths: in: query description: |- If specified, only return advisories that were updated on a date or date range. - + For more information on the syntax of the date range, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." schema: type: string - name: modified description: |- If specified, only show advisories that were updated or published on a date or date range. - + For more information on the syntax of the date range, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." in: query schema: @@ -18491,7 +18512,7 @@ paths: - name: ref description: |- The Git reference for the activities you want to list. - + The `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch. in: query required: false @@ -18507,7 +18528,7 @@ paths: - name: time_period description: |- The time period to filter by. - + For example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours). in: query required: false @@ -18522,7 +18543,7 @@ paths: - name: activity_type description: |- The activity type to filter by. - + For example, you can choose to filter by "force_push", to see all force pushes to the repository. in: query required: false @@ -65334,49 +65355,49 @@ components: examples: - | # Contributor Covenant Code of Conduct - + ## Our Pledge - + In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. - + ## Our Standards - + Examples of behavior that contributes to creating a positive environment include: - + * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members - + Examples of unacceptable behavior by participants include: - + * The use of sexualized language or imagery and unwelcome sexual attention or advances * Trolling, insulting/derogatory comments, and personal or political attacks * Public or private harassment * Publishing others' private information, such as a physical or electronic address, without explicit permission * Other conduct which could reasonably be considered inappropriate in a professional setting - + ## Our Responsibilities - + Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. - + Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. - + ## Scope - + This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. - + ## Enforcement - + Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. - + Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. - + ## Attribution - + This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/). html_url: type: @@ -67454,17 +67475,17 @@ components: - | # Object files *.o - + # Libraries *.lib *.a - + # Shared objects (inc. Windows DLLs) *.dll *.so *.so.* *.dylib - + # Executables *.exe *.out @@ -67545,22 +67566,22 @@ components: type: string examples: - |2 - - + + The MIT License (MIT) - + Copyright (c) [year] [fullname] - + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -72411,7 +72432,7 @@ components: - title: file_path_restriction description: |- Note: file_path_restriction is in beta and subject to change. - + Prevent commits that include changes in specified file paths from being pushed to the commit graph. type: object required: @@ -72435,7 +72456,7 @@ components: - title: max_file_path_length description: |- Note: max_file_path_length is in beta and subject to change. - + Prevent commits that include file paths that exceed a specified character limit from being pushed to the commit graph. type: object required: @@ -72458,7 +72479,7 @@ components: - title: file_extension_restriction description: |- Note: file_extension_restriction is in beta and subject to change. - + Prevent commits that include files with specified file extensions from being pushed to the commit graph. type: object required: @@ -72482,7 +72503,7 @@ components: - title: max_file_size description: |- Note: max_file_size is in beta and subject to change. - + Prevent commits that exceed a specified file size limit from being pushed to the commit. type: object required: @@ -78084,7 +78105,7 @@ components: examples: - |- Invalid owner on line 7: - + * user ^ path: @@ -157630,7 +157651,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -157642,7 +157663,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -158255,7 +158276,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -158267,7 +158288,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -158414,7 +158435,7 @@ components: squash_merge_commit_message: description: |- The default value for a squash merge commit message: - + - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. @@ -158426,7 +158447,7 @@ components: squash_merge_commit_title: description: |- The default value for a squash merge commit title: - + - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). type: string @@ -160023,7 +160044,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -160035,7 +160056,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -160182,7 +160203,7 @@ components: squash_merge_commit_message: description: |- The default value for a squash merge commit message: - + - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. @@ -160194,7 +160215,7 @@ components: squash_merge_commit_title: description: |- The default value for a squash merge commit title: - + - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). type: string @@ -160657,7 +160678,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -160669,7 +160690,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -160816,7 +160837,7 @@ components: squash_merge_commit_message: description: |- The default value for a squash merge commit message: - + - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. @@ -160828,7 +160849,7 @@ components: squash_merge_commit_title: description: |- The default value for a squash merge commit title: - + - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). type: string @@ -162472,7 +162493,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -162484,7 +162505,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -162631,7 +162652,7 @@ components: squash_merge_commit_message: description: |- The default value for a squash merge commit message: - + - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. @@ -162643,7 +162664,7 @@ components: squash_merge_commit_title: description: |- The default value for a squash merge commit title: - + - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). type: string @@ -163106,7 +163127,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -163118,7 +163139,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -163265,7 +163286,7 @@ components: squash_merge_commit_message: description: |- The default value for a squash merge commit message: - + - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. @@ -163277,7 +163298,7 @@ components: squash_merge_commit_title: description: |- The default value for a squash merge commit title: - + - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). type: string @@ -164870,7 +164891,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -164882,7 +164903,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -165029,7 +165050,7 @@ components: squash_merge_commit_message: description: |- The default value for a squash merge commit message: - + - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. @@ -165041,7 +165062,7 @@ components: squash_merge_commit_title: description: |- The default value for a squash merge commit title: - + - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). type: string @@ -165504,7 +165525,7 @@ components: merge_commit_message: description: |- The default value for a merge commit message. - + - `PR_TITLE` - default to the pull request's title. - `PR_BODY` - default to the pull request's body. - `BLANK` - default to a blank commit message. @@ -165516,7 +165537,7 @@ components: merge_commit_title: description: |- The default value for a merge commit title. - + - `PR_TITLE` - default to the pull request's title. - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name). type: string @@ -165663,7 +165684,7 @@ components: squash_merge_commit_message: description: |- The default value for a squash merge commit message: - + - `PR_BODY` - default to the pull request's body. - `COMMIT_MESSAGES` - default to the branch's commit messages. - `BLANK` - default to a blank commit message. @@ -165675,7 +165696,7 @@ components: squash_merge_commit_title: description: |- The default value for a squash merge commit title: - + - `PR_TITLE` - default to the pull request's title. - `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit). type: string @@ -206499,7 +206520,7 @@ components: suggestion: Did you mean `**/*.rb`? message: |- Invalid pattern on line 3: Did you mean `**/*.rb`? - + ***/*.rb @monalisa ^ path: ".github/CODEOWNERS" @@ -206510,7 +206531,7 @@ components: suggestion: message: |- Invalid owner on line 7: - + *.txt docs@ ^ path: ".github/CODEOWNERS" @@ -207902,7 +207923,7 @@ components: tree_id: 7fd1a60b01f91b314f59955a4e4d4e80d8edf11d message: |- Merge pull request #6 from Spaceghost/patch-1 - + New line at end of file. timestamp: '2016-10-10T00:00:00Z' author: