···11+name: WelcomeBot
22+33+on:
44+ pull_request_target:
55+ branches: [main]
66+ types: [opened]
77+88+permissions:
99+ pull-requests: write
1010+1111+jobs:
1212+ welcome:
1313+ name: Welcome First-Time Contributors
1414+ runs-on: ubuntu-latest
1515+ steps:
1616+ - name: Generate GitHub App token
1717+ id: generate_token
1818+ uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
1919+ with:
2020+ app_id: ${{ secrets.BOT_APP_ID }}
2121+ private_key: ${{ secrets.BOT_PRIVATE_KEY }}
2222+2323+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424+ - name: Convert Repository Name to Title Case
2525+ id: convert_repo_name
2626+ run: |
2727+ REPO_NAME="${{ github.event.repository.name }}"
2828+ TITLE_CASE_REPO_NAME=$(echo "$REPO_NAME" | sed 's/-/ /g' | awk '{for(i=1;i<=NF;i++) $i=toupper(substr($i,1,1)) tolower(substr($i,2))} 1')
2929+ echo "title_case_repo_name=$TITLE_CASE_REPO_NAME" >> $GITHUB_ENV
3030+ - uses: zephyrproject-rtos/action-first-interaction@58853996b1ac504b8e0f6964301f369d2bb22e5c
3131+ with:
3232+ repo-token: ${{ steps.generate_token.outputs.token }}
3333+ pr-opened-message: |
3434+ Hello! Thank you for opening your **first PR** to ${{ env.title_case_repo_name }}! ✨
3535+3636+ Here’s what will happen next:
3737+3838+ 1. Our GitHub bots will run to check your changes.
3939+ If they spot any issues you will see some error messages on this PR.
4040+ Don’t hesitate to ask any questions if you’re not sure what these mean!
4141+4242+ 2. One or more of our maintainers will take a look and may ask you to make changes.
4343+ We try to be responsive, but don’t worry if this takes a few days.
+125-27
.gitignore
···11-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
11+# Logs
22+logs
33+*.log
44+npm-debug.log*
55+yarn-debug.log*
66+yarn-error.log*
77+lerna-debug.log*
88+.pnpm-debug.log*
2933-# dependencies
44-/node_modules
55-/.pnp
66-.pnp.js
77-.yarn/install-state.gz
1010+# Diagnostic reports (https://nodejs.org/api/report.html)
1111+report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
81299-# testing
1010-/coverage
1313+# Runtime data
1414+pids
1515+*.pid
1616+*.seed
1717+*.pid.lock
11181212-# next.js
1313-/.next/
1414-/out/
1919+# Directory for instrumented libs generated by jscoverage/JSCover
2020+lib-cov
15211616-# production
1717-/build
2222+# Coverage directory used by tools like istanbul
2323+coverage
2424+*.lcov
18251919-# misc
2020-.DS_Store
2121-*.pem
2626+# nyc test coverage
2727+.nyc_output
22282323-# debug
2424-npm-debug.log*
2525-yarn-debug.log*
2626-yarn-error.log*
2929+# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
3030+.grunt
27312828-# local env files
2929-.env*.local
3232+# Bower dependency directory (https://bower.io/)
3333+bower_components
3434+3535+# node-waf configuration
3636+.lock-wscript
30373131-# vercel
3232-.vercel
3838+# Compiled binary addons (https://nodejs.org/api/addons.html)
3939+build/Release
33403434-# typescript
4141+# Dependency directories
4242+node_modules/
4343+jspm_packages/
4444+4545+# Snowpack dependency directory (https://snowpack.dev/)
4646+web_modules/
4747+4848+# TypeScript cache
3549*.tsbuildinfo
3636-next-env.d.ts
3737-package-lock.json
5050+5151+# Optional npm cache directory
5252+.npm
5353+5454+# Optional eslint cache
5555+.eslintcache
5656+5757+# Optional stylelint cache
5858+.stylelintcache
5959+6060+# Microbundle cache
6161+.rpt2_cache/
6262+.rts2_cache_cjs/
6363+.rts2_cache_es/
6464+.rts2_cache_umd/
6565+6666+# Optional REPL history
6767+.node_repl_history
6868+6969+# Output of 'npm pack'
7070+*.tgz
7171+7272+# Yarn Integrity file
7373+.yarn-integrity
7474+7575+# dotenv environment variable files
7676+.env
7777+.env.development.local
7878+.env.test.local
7979+.env.production.local
8080+.env.local
8181+8282+# parcel-bundler cache (https://parceljs.org/)
8383+.cache
8484+.parcel-cache
8585+8686+# Astro
8787+.astro
8888+8989+# Next.js build output
9090+.next
9191+out
9292+9393+# Nuxt.js build / generate output
9494+.nuxt
9595+dist
9696+.output
9797+9898+# Gatsby files
9999+.cache/
100100+# Comment in the public line in if your project uses Gatsby and not Next.js
101101+# https://nextjs.org/blog/next-9-1#public-directory-support
102102+# public
103103+104104+# vuepress build output
105105+.vuepress/dist
106106+107107+# vuepress v2.x temp and cache directory
108108+.temp
109109+.cache
110110+111111+# Docusaurus cache and generated files
112112+.docusaurus
113113+114114+# Serverless directories
115115+.serverless/
116116+117117+# FuseBox cache
118118+.fusebox/
119119+120120+# DynamoDB Local files
121121+.dynamodb/
122122+123123+# TernJS port file
124124+.tern-port
125125+126126+# Stores VSCode versions used for (testing) VSCode extensions
127127+.vscode
128128+.vscode-test
129129+130130+# yarn v2
131131+.yarn/cache
132132+.yarn/unplugged
133133+.yarn/build-state.yml
134134+.yarn/install-state.gz
135135+.pnp.*
+44
.prettierignore
···11+# Dependency directories
22+node_modules/
33+dist/
44+build/
55+out/
66+77+# Lock files
88+pnpm-lock.yaml
99+package-lock.json
1010+yarn.lock
1111+1212+# Build and generated files
1313+*.min.*
1414+*.bundle.*
1515+*.map
1616+1717+# Git and version control
1818+**/.git
1919+2020+# Framework-specific files
2121+next-env.d.ts
2222+__generated__/
2323+2424+# Test and coverage files
2525+coverage/
2626+*.spec.*
2727+*.test.*
2828+2929+# Editor-specific files
3030+.vscode/
3131+.idea/
3232+*.sublime-project
3333+*.sublime-workspace
3434+3535+# OS generated files
3636+.DS_Store
3737+Thumbs.db
3838+3939+# Markdown and MDX files
4040+*.md
4141+*.mdx
4242+4343+# Changelog
4444+.changeset
···11MIT License
2233-Copyright (c) 2024 trueberryless-org
33+Copyright (c) 2024-present, trueberryless
4455Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal