Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync #34517

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ An organization owner or repository administrator defines which roles and teams

{% data reusables.secret-scanning.push-protection-delegated-bypass-note %}

To help you effectively triage secrets for which there is a bypass request, {% data variables.product.prodname_dotcom %} displays the following information in the request:

* Name of the user who attempted the push.
* Repository where the push was attempted.
* Commit hash of the push.
* Timestamp of the push.{% ifversion push-protection-delegated-bypass-enhancements %}
* File path and branch information. The branch information is only available for pushes to single branches.{% endif %}

### Managing requests to bypass push protection at the repository level

{% data reusables.repositories.navigate-to-repo %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Here are the basic steps in the process.
1. **Copyright Owner Investigates.** A copyright owner should always conduct an initial investigation to confirm both (a) that they own the copyright to an original work and (b) that the content on GitHub is unauthorized and infringing. This includes confirming that the use is not protected as [fair use](https://www.lumendatabase.org/topics/22). A particular use may be fair if it only uses a small amount of copyrighted content, uses that content in a transformative way, uses it for educational purposes, or some combination of the above. Because code naturally lends itself to such uses, each use case is different and must be considered separately.
> **Example:** An employee of Acme Web Company finds some of the company's code in a GitHub repository. Acme Web Company licenses its source code out to several trusted partners. Before sending in a take-down notice, Acme should review those licenses and its agreements to confirm that the code on GitHub is not authorized under any of them.
1. **Copyright Owner Sends A Notice.** After conducting an investigation, a copyright owner prepares and sends a [takedown notice](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice) to GitHub. Assuming the takedown notice is sufficiently detailed according to the statutory requirements (as explained in the [how-to guide](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice)), we will [post the notice](#d-transparency) to our [public repository](https://github.com/github/dmca) and pass the link along to the affected user.
1. **Copyright Owner Sends A Notice.** After conducting an investigation, a copyright owner prepares and sends a [takedown notice](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice) to GitHub. Assuming the takedown notice is sufficiently detailed according to the statutory requirements (as explained in the [how-to guide](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-takedown-notice)), we will [post the notice](#e-transparency) to our [public repository](https://github.com/github/dmca) and pass the link along to the affected user.

1. **GitHub Asks User to Make Changes.** If the notice alleges that the entire contents of a repository infringe, or a package infringes, we will skip to Step 6 and disable the entire repository or package expeditiously. Otherwise, because GitHub cannot disable access to specific files within a repository, we will contact the user who created the repository and give them approximately 1 business day to delete or modify the content specified in the notice. We'll notify the copyright owner if and when we give the user a chance to make changes. Because packages are immutable, if only part of a package is infringing, GitHub would need to disable the entire package, but we permit reinstatement once the infringing portion is removed.

Expand All @@ -59,7 +59,7 @@ Here are the basic steps in the process.

1. **GitHub May Disable Access to the Content.** GitHub will disable a user's content if: (i) the copyright owner has alleged copyright over the user's entire repository or package (as noted in Step 3); (ii) the user has not made any changes after being given an opportunity to do so (as noted in Step 4); or (iii) the copyright owner has renewed their takedown notice after the user had a chance to make changes. If the copyright owner chooses instead to _revise_ the notice, we will go back to Step 2 and repeat the process as if the revised notice were a new notice.

1. **User May Send A Counter Notice.** We encourage users who have had content disabled to consult with a lawyer about their options. If a user believes that their content was disabled as a result of a mistake or misidentification, they may send us a [counter notice](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice). As with the original notice, we will make sure that the counter notice is sufficiently detailed (as explained in the [how-to guide](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice)). If it is, we will [post it](#d-transparency) to our [public repository](https://github.com/github/dmca) and pass the notice back to the copyright owner by sending them the link.
1. **User May Send A Counter Notice.** We encourage users who have had content disabled to consult with a lawyer about their options. If a user believes that their content was disabled as a result of a mistake or misidentification, they may send us a [counter notice](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice). As with the original notice, we will make sure that the counter notice is sufficiently detailed (as explained in the [how-to guide](/site-policy/content-removal-policies/guide-to-submitting-a-dmca-counter-notice)). If it is, we will [post it](#e-transparency) to our [public repository](https://github.com/github/dmca) and pass the notice back to the copyright owner by sending them the link.

1. **Copyright Owner May File a Legal Action.** If a copyright owner wishes to keep the content disabled after receiving a counter notice, they will need to initiate a legal action seeking a court order to restrain the user from engaging in infringing activity relating to the content on GitHub. In other words, you might get sued. If the copyright owner does not give GitHub notice within 10-14 days, by sending a copy of a valid legal complaint filed in a court of competent jurisdiction, GitHub will re-enable the disabled content.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

In addition, GitHub established a partnership with the FairHotel Program, which means GitHub encourages its employees to choose FairHotel endorsed hotels-where workers have fair wages, adequate benefits, and a voice on the job. Being a FairHotel partner also signifies that GitHub provides business to hotels as a fair employer.

Going forward, GitHub will communicate this Statement to all employees, contractors, and suppliers, including recruiters and employment agencies. In addition, GitHub is developing training for all GitHub employees on modern slavery and child labor. GitHub [posts its Statement Against Modern Slavery and Child Labor publicly](/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor).
Going forward, GitHub will communicate this Statement to all employees, contractors, and suppliers, including recruiters and employment agencies. In addition, GitHub is developing training for all GitHub employees on modern slavery and child labor. GitHub posts its Statement Against Modern Slavery and Child Labor publicly.

GitHub has a non-retaliation policy for reporting workplace-related concerns. Consistent with this Statement, GitHub allows employees and contractors to report issues regarding modern slavery and child labor without fear of retaliation.

Expand Down Expand Up @@ -88,17 +88,17 @@
GitHub complies and will continue to comply with laws related to modern slavery and child labor.

Going forward, GitHub now requires its suppliers to comply with this Statement, as well as laws related to modern slavery and child labor. GitHub now also requires its suppliers to:
* not use, participate in, support, or tolerate modern slavery or child labor

Check warning on line 91 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Not.
* not use misleading or fraudulent recruitment or engagement practices for employees or contract workers

Check warning on line 92 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Not.
* not charge employees or contract workers recruitment or engagement fees

Check warning on line 93 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Not.
* not destroy, conceal, confiscate, or otherwise deny access by an employee or any contract worker to passport, driver's license, or other identity documents;

Check warning on line 94 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Not.
* allow us to terminate our agreements with them for any violation of its obligations related to modern slavery or child labor; and

Check warning on line 95 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Allow.
* remediate any harms caused to any worker found to be subjected to any form of modern slavery or child labor, if required by law.

Check warning on line 96 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Remediate.

In addition, GitHub strongly encourages its suppliers to:
* conduct anti-modern slavery and child labor due diligence processes, including risk assessments, for their suppliers;

Check warning on line 99 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Conduct.
* take steps to address risks identified; and

Check warning on line 100 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Take.
* use similar anti-modern slavery and child labor language with their suppliers.

Check warning on line 101 in content/site-policy/github-company-policies/github-statement-against-modern-slavery-and-child-labor.md

View workflow job for this annotation

GitHub Actions / lint-content

First word of list item should be capitalized

Expected: Use.

GitHub's procurement instructions to employees making company purchases now includes a reference to the requirement for suppliers to comply with Microsoft's Supplier Code of Conduct or this Statement.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Issue 15735 - Secret scanning push protection bypasses show branch and file path information [GA]
versions:
ghec: '*'
ghes: '>=3.16'
Loading