Skip to content

Commit

Permalink
Merge branch 'main' into adding_additional_php_no_code_example
Browse files Browse the repository at this point in the history
  • Loading branch information
bobstrecansky authored Jan 9, 2025
2 parents 995b128 + 137ad5c commit 77380d5
Show file tree
Hide file tree
Showing 459 changed files with 4,713 additions and 2,338 deletions.
1 change: 1 addition & 0 deletions .cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ dictionaries:
# Natural languages
- es-es
- pt-br
- fr-fr
# Local word lists
- en-words
- es-palabras
Expand Down
1 change: 1 addition & 0 deletions .cspell/en-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ quantile
quantiles
quarkus
quoteservice
react-native-app
recommendationservice
redis
relref
Expand Down
213 changes: 2 additions & 211 deletions .cspell/fr-mots.txt
Original file line number Diff line number Diff line change
@@ -1,213 +1,4 @@
analyse
analyser
avec
collecter
collectez
comportement
contenant
créez
dans
découvrez
définie
démo
dessous
données
d'utiliser
efficace
entièrement
être
générer
gratuit
indépendant
instrumenter
intégrations
langages
librairies
logiciels
métriques
nombreux
nombreuses
extensibilité
observabilité
outils
permet
permettant
projet
projets
peut
qualité
savoir
s'intègre
supporte
supporté
tant
télémétrie
transmettez
universelle
utilisé
visuel
votre
vous
l'état
système
incluent
rendre
signifie
émettre
metriques
produites
doivent
transmises
Pourquoi
l'essor
commerciales
besoin
répond
suivant
principes
clés
propriétaire
générez
dépendance
fournisseur
n'avez
d'apprendre
seul
combinés
offrent
équipes
organisations
flexibilité
dont
informatique
Extensibilité
conçu
extensible
Quelques
façon
étendu
Ajouter
receveur
Collecteur
afin
prendre
venant
personnalisée
bibliothèques
personnalisées
Créer
collecteur
adaptée
utilisation
spécifique
nouvel
exportateur
personnalisé
prend
propagateur
contexte
plupart
utilisateurs
n'aient
d'étendre
presque
tous
niveaux
Histoire
trouve
antérieurs
créés
résoudre
même
problème
norme
décrivant
manière
transmettre
Aucun
n'étant
indépendante
fusionné
leurs
offrant
utilisez
actuellement
pouvez
découvrir
migrer
ensuite
commencer
Lancez
directement
composants
standardisé
définissant
sémantiques
décrire
langage
implémentent
spécifications
écosystème
instrumentent
automatique
génèrent
requérir
reçoit
modifie
autre
Opérateur
ressources
Faas
variété
intègrent
fournir
défaut
pris
fournisseurs
fournissent
contribuent
n’aient
d’étendre
conçus
créer
gérer
telles
outil
compris
ainsi
commerciaux
d'autres
génération
collecte
gestion
objectifs
principaux
pouvoir
aisément
systèmes
quelque
soit
leur
environnement
d'exécution
stockage
visualisation
sont
intentionnellement
laissés
d'autres
comprendre
sortantes
logiciel
d’aujourd’hui
souhaitez
jetez
oeil
valeurs
principaux
suivants
spécification
communautaires
brève
êtes
standardisée
autres
traçage
48 changes: 48 additions & 0 deletions .github/workflows/auto-update-community-members.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Auto-update community members page

on:
workflow_dispatch:
schedule:
# At 03:41, every day
- cron: 41 3 * * *

jobs:
auto-update-versions:
name: Auto-update community members page
runs-on: ubuntu-24.04
# Remove the if statement below when testing againt a fork
if: github.repository == 'open-telemetry/opentelemetry.io'
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
working-directory: ./scripts/generate-community-data
run: npm install

- name: Run script
working-directory: ./scripts/generate-community-data
run: node generate.js ../../data/community/members.yaml
env:
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}

- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
add-paths: 'data/community/members.yaml'
author:
opentelemetrybot
<[email protected]>
committer:
opentelemetrybot
<[email protected]>
token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
branch: update-community-members
title: Update community members
body: |
This pull request contains automated updates to files by the GitHub Action.
3 changes: 1 addition & 2 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
workflow_dispatch:
inputs:
submodule_path_regex:
description:
Regex of submodule paths to updated to HEAD before building.
description: Regex of submodule paths to update to HEAD before building.
default: content-modules
type: string

Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,19 @@ jobs:
- name: Create NPM cache-hash input file
run: |
mkdir -p tmp
jq '{devDependencies, dependencies, engines, gitHubActionCacheKey}' package.json > tmp/package-ci.json
jq '{devDependencies, engines, gitHubActionCacheKey}' package.json > tmp/package-ci.json
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
cache-dependency-path: tmp/package-ci.json

- name: Check file format
run: npm run check:format --ignore-scripts
- name: Install package(s)
run: |
PRETTIER_AT_VERS=@$(npm pkg get devDependencies.prettier | tr -d '^"')
echo "PRETTIER_AT_VERS=$PRETTIER_AT_VERS" | tee -a $GITHUB_ENV
npm install prettier$PRETTIER_AT_VERS --no-save
set -x && npx prettier --version
- run: npm run check:format
7 changes: 4 additions & 3 deletions .github/workflows/pr-actions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: PR actions
# cSpell:ignore esac htmltest refcache nvmrc

on:
issue_comment:
Expand Down Expand Up @@ -29,9 +30,9 @@ jobs:
- name: Extract action name
id: extract_action_name
run: |
PR_ACTION=$(echo $COMMENT | grep -oP '/fix:\K[-_0-9a-z]+')
PR_ACTION=$(echo $COMMENT | grep -oP '/fix:\K[:-_0-9a-z]+')
echo "Action is $PR_ACTION"
ACTION_NAMES="all|dict|filenames|format|htmltest-config|i18n|markdown|refcache|submodules?|text"
ACTION_NAMES="all|dict|expired|filenames|format|htmltest-config|i18n|markdown|refcache(:refresh)?|submodules?|text"
if [[ ! "$PR_ACTION" =~ ^($ACTION_NAMES)$ ]]; then
echo "Invalid action name: $PR_ACTION"
echo "Action name should be one of: $ACTION_NAMES"
Expand Down Expand Up @@ -69,7 +70,7 @@ jobs:

- run: |
case $PR_ACTION in
all|refcache|text)
all|refcache*|text)
npm install --omit=optional
;&
*)
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/survey-on-merged-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Survey on Merged PR by Non-Member

on:
pull_request:
types: [closed]

jobs:
comment-on-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Check if user is a member of the org
id: check-membership
run: |
USERNAME=$(jq -r '.pull_request.user.login' "$GITHUB_EVENT_PATH")
ORG="${{ github.repository_owner }}"
STATUS=$(gh api "orgs/$ORG/members/$USERNAME" --silent && echo "true" || echo "false")
if [[ "$STATUS" == "true" ]]; then
echo "MEMBER_FOUND=true" >> $GITHUB_ENV
else
echo "MEMBER_FOUND=false" >> $GITHUB_ENV
fi
env:
GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}

- name: Add comment to PR if author is not a member
if: env.MEMBER_FOUND == 'false'
run: |
PR_NUMBER=${{ github.event.pull_request.number }}
gh pr comment $PR_NUMBER --body "Thank you for your contribution! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by filling out this survey: https://forms.gle/WV58koUBGSG9HBY66"
env:
GH_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
Loading

0 comments on commit 77380d5

Please sign in to comment.