Skip to content

Repo sync #33108

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

Merged
merged 3 commits into from
May 21, 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
18 changes: 15 additions & 3 deletions .github/workflows/first-responder-v2-prs-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ jobs:
console.log(`This pull request was authored by an external contributor.`)
return 'false'

# Check if docs-bot authored the PR
# If yes, set Type field to "Maintenance"
# If no, set Type field to "External contributor PR"
- name: Check if docs-bot is PR author
env:
PR_AUTHOR_ID: ${{ github.event.pull_request.user.id }}
run: |
if [ $PR_AUTHOR_ID == 77750099 ]; then
echo "TYPE_FIELD_VALUE=3f142cf2" >> $GITHUB_ENV
else
echo "TYPE_FIELD_VALUE=bbd0922a" >> $GITHUB_ENV
fi

- name: Add the docs-content-fr label
if: ${{ steps.check-membership.outputs.result == 'false' }}
env:
Expand All @@ -53,7 +66,7 @@ jobs:
gh pr edit $PR_URL --add-label docs-content-fr

# Add to the FR project
# and set type to "External contributor PR"
# and set type to "Maintenance" or "External contributor PR"
# and set date to now
- name: Triage to docs-content FR project
if: steps.check-membership.outputs.result == 'false'
Expand All @@ -64,15 +77,14 @@ jobs:
PROJECT_ID: PVT_kwDNJr_OAGNkBg
TYPE_FIELD_ID: PVTSSF_lADNJr_OAGNkBs4D-Nyn
DATE_FIELD_ID: PVTF_lADNJr_OAGNkBs4D-N1h
EXTERNAL_PR_TYPE_ID: bbd0922a
run: |
echo "Adding item to project..."

ITEM_ID=$(gh project item-add $PROJECT_NUMBER --owner github --url $PR_URL --format json | jq .id)

echo "Editing type..."

gh project item-edit --project-id $PROJECT_ID --id $ITEM_ID --field-id $TYPE_FIELD_ID --single-select-option-id $EXTERNAL_PR_TYPE_ID
gh project item-edit --project-id $PROJECT_ID --id $ITEM_ID --field-id $TYPE_FIELD_ID --single-select-option-id ${{ env.TYPE_FIELD_VALUE }}

echo "Editing date..."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ redirect_from:
---

You may not post content that presents a distorted view of reality, whether it is inaccurate or false (misinformation) or is intentionally deceptive (disinformation), where such content is likely to result in harm to the public or to interfere with fair and equal opportunities for all to take part in a free and open society. This may include:
- Inaccurate or scientifically unsupported medical claims that endanger public health or safety
- Inaccurate or scientifically unsupported medical claims that endanger public health or safety
- Manipulated media, whether audio or visual, likely to mislead or deceive in a way that may harm the public interest
- False or misleading content likely to interfere with an individual's ability to participate in civic activities
- Unsubstantiated claims that could promote hate or targeted harassment of specific groups of people

We encourage active participation in the expression of ideas, perspectives, and experiences and may not be in a position to dispute personal accounts or observations. We generally allow parody and satire that is in line with our [Acceptable Use Polices](/site-policy/acceptable-use-policies/github-acceptable-use-policies), and we consider context to be important in how information is received and understood. When reviewing content under this policy, GitHub will consider the impact of various factors that may help to orient the viewer, such as whether the content has been provided with clear disclaimers, citations to credible sources, or includes other details that clarify the accuracy of the information being shared.

## Synthetic & Manipulated Media Tools

GitHub does not allow any projects that are designed for, encourage, promote, support, or suggest in any way the use of synthetic or manipulated media for the creation of non-consensual intimate imagery or any content that would constitute misinformation or disinformation under this policy.
5 changes: 4 additions & 1 deletion src/languages/components/LanguagePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ export const LanguagePicker = ({ xs, mediumOrLower }: Props) => {
</>
) : mediumOrLower ? (
<ActionList className="hide-sm" selectionVariant="single">
<ActionList.Group title={t('language_picker_label')}>{languageList}</ActionList.Group>
<ActionList.Group>
<ActionList.GroupHeading>{t('language_picker_label')}</ActionList.GroupHeading>
{languageList}
</ActionList.Group>
</ActionList>
) : (
<ActionMenu>
Expand Down