content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
# Two factor mail\nauth_code:\n on: 'sus'\n mailer:\n subject: "Còdi d'autentificacion wallabag"\n body:\n hello: "Bonjorn %user%,"\n first_para: "Estant qu'avètz activat l'autentificacion en dos temps sus vòstre compte wallabag e que venètz de vos connectar d'un novèl periferic (ordinador, mobil, etc.) vos mandem un còdi per validar la connexion."\n second_para: "Vaquí lo còdi per dintrar :"\n support: "S'avètz un problèma de connexion, dobtetz pas a contactar l'assisténcia :"\n signature: "La còla de wallabag"\n
dataset_sample\yaml\php\wallabag_user.oc.yml
wallabag_user.oc.yml
YAML
599
0.8
0
0.090909
node-utils
529
2025-06-05T11:52:53.776370
GPL-3.0
false
8a32fe09a952c867d525b4bf60fc0469
auth_code:\n on: włączony\n mailer:\n subject: Kod uwierzytelniający wallabag\n body:\n hello: Cześć, %user%,\n first_para: Ponieważ do zalogowania się na konto wallabag wymagane jest uwierzytelnianie dwuskładnikowe, a nowe urządzenie właśnie z niego korzystało, wyślemy Ci kod, aby zweryfikować jego połączenie.\n second_para: 'Oto kod:'\n support: 'Nie wahaj się skontaktować z nami, jeżeli masz jakiekolwiek problemy:'\n signature: Zespół wallabag\n
dataset_sample\yaml\php\wallabag_user.pl.yml
wallabag_user.pl.yml
YAML
538
0.7
0
0
react-lib
377
2024-06-16T01:44:23.739469
MIT
false
ebf36796d9e2197bb2f8a41b40be41f6
# Two factor mail\nauth_code:\n on: 'ativo'\n mailer:\n subject: 'Código de autenticação do wallabag'\n body:\n hello: "Olá %user%,"\n first_para: "Como ativou a autenticação de dois passos para a sua conta do wallabag, precisa autenticar-se com um novo aparelho (computador, telefone, etc.), e nós enviamos um código para validar a sua conexão."\n second_para: "Aqui está o código:"\n support: "Por favor, se você tiver qualquer problema, não hesite em nos contatar:"\n signature: "O time do wallabag"\n
dataset_sample\yaml\php\wallabag_user.pt.yml
wallabag_user.pt.yml
YAML
581
0.8
0
0.090909
react-lib
187
2024-08-12T23:00:50.494668
BSD-3-Clause
false
130b7190c69d018d587cd6786bfb7fa7
# Two factor mail\nauth_code:\n on: 'Вкл'\n mailer:\n subject: 'код аутентификации wallabag'\n body:\n hello: "Привет %user%,"\n first_para: "Поскольку вы активируете двухфакторную аутентификацию на своей учётной записи wallabag и только что вошли в систему с нового устройства (компьютер, телефон и т. д.), мы отправляем вам код для подтверждения вашего соединения."\n second_para: "Вот код:"\n support: "Пожалуйста, не стесняйтесь обращаться к нам, если у вас есть какие-либо проблемы:"\n signature: "Команда wallabag"\n
dataset_sample\yaml\php\wallabag_user.ru.yml
wallabag_user.ru.yml
YAML
869
0.8
0
0.090909
awesome-app
590
2025-03-30T16:39:01.038981
GPL-3.0
false
dd4477fbd1fd36a4e008a57b8845302a
auth_code:\n mailer:\n body:\n hello: Hej %user%,\n subject: Wallabag autentiseringskod\n on: På\n
dataset_sample\yaml\php\wallabag_user.sv.yml
wallabag_user.sv.yml
YAML
124
0.7
0
0
react-lib
826
2023-09-25T13:11:45.410300
GPL-3.0
false
6dd25ac1349194940b538b08c314783b
auth_code:\n on: ஆன்\n mailer:\n subject: வாலபாக் அங்கீகார குறியீடு\n body:\n hello: ஆய் %பயனர் %,\n second_para: 'இங்கே குறியீடு:'\n support: 'உங்களுக்கு ஏதேனும் சிக்கல்கள் இருந்தால் தயவுசெய்து எங்களை தொடர்பு கொள்ள தயங்க வேண்டாம்:'\n signature: வாலபாக் குழு\n first_para: உங்கள் வாலபாக் கணக்கில் உள்நுழைய உங்களுக்கு இரண்டு காரணி ஏற்பு தேவைப்படுவதால், ஒரு புதிய சாதனம் அதைப் பயன்படுத்தியது என்பதால், அதன் இணைப்பை சரிபார்க்க ஒரு குறியீட்டை நாங்கள் உங்களுக்கு அனுப்புகிறோம்.\n
dataset_sample\yaml\php\wallabag_user.ta.yml
wallabag_user.ta.yml
YAML
1,157
0.7
0
0
vue-tools
359
2024-08-01T05:00:20.379282
BSD-3-Clause
false
f8a08b8b9a8595635eba85c8ee488627
# Two factor mail\nauth_code:\n on: 'on'\n mailer:\n subject: 'การรองรับ wallabag code'\n body:\n hello: "สวัสดี %user%,"\n first_para: "ตั้งแต่ที่คุณเปิดใช้งาน two factor authentication บนบัญชี wallabag ของคุณ และ คุณได้ทำการลงชื่อเข้าใช้จากอุปกรณ์ใหม่ (คอมพิวเตอร์, มือถือ, etc.), พวกเราจะส่ง code ให้คุณเพื่อตรวจสอบการเชื่อมต่อ"\n second_para: "ที่นี้เป็น code:"\n support: "ไม่ต้องรอการติดต่อจากพวกเราถ้าคุณมีปัญหา:"\n signature: "ทีม wallabag"\n
dataset_sample\yaml\php\wallabag_user.th.yml
wallabag_user.th.yml
YAML
920
0.8
0
0.090909
awesome-app
6
2023-09-06T04:35:19.964648
BSD-3-Clause
false
c305e221d2ffb4d946f8ddf9c07b4ee1
# Two factor mail\nauth_code:\n on: 'on'\n mailer:\n subject: 'Wallabag Doğrulama Kodu'\n body:\n hello: "Merhaba %user%,"\n first_para: "wallabag hesabınızda iki adımlı doğrulamayı etkinleştirdiğinizde ve bu yeni cihaz olduğunda (bilgisayar, telefon, vs.), biz size bu işlemi doğrulamak için bir kod göndeririz."\n second_para: "Bu işlem için doğrulama kodunuz:"\n support: "Eğer herhangi bir soru/sorununuz varsa, bizimle iletişime geçmekten çekinmeyin:"\n signature: "wallabag ekibi"\n
dataset_sample\yaml\php\wallabag_user.tr.yml
wallabag_user.tr.yml
YAML
573
0.8
0
0.090909
awesome-app
8
2024-07-14T08:33:17.098154
GPL-3.0
false
ca2652266a7f94aeb490dd5967f1ce4e
# Two factor mail\nauth_code:\n on: 'на'\n mailer:\n subject: 'wallabag — код автентифікації'\n body:\n hello: "Привіт %user%,"\n first_para: "Ви увімкнули двофакторну автентифікацію для входу у ваш обліковий запис wallabag, і як тільки новий пристрій використовує його, ми надсилаємо вам код для валідації."\n second_para: "Ось ваш код:"\n support: "Якщо у вас виникли проблеми, розкажіть про них нам:"\n signature: "Команда wallabag"\n
dataset_sample\yaml\php\wallabag_user.uk.yml
wallabag_user.uk.yml
YAML
715
0.8
0
0.090909
python-kit
876
2025-04-05T07:09:05.028614
GPL-3.0
false
3f8c65c200cc8e9cf5f3baaaf201576c
# Two factor mail\nauth_code:\n on: '启用'\n mailer:\n subject: 'wallabag 验证码'\n body:\n hello: "嗨,%user%,"\n first_para: "因为你要求在登录到你的 wallabag 账号前需要完成两步验证,而刚刚一个新的设备请求完成该验证,为此我们给你发送了这个代码以供验证。"\n second_para: "以下是需要用到的代码:"\n support: "如果遇到任何问题,欢迎联系我们:"\n signature: "wallabag 团队"\n
dataset_sample\yaml\php\wallabag_user.zh.yml
wallabag_user.zh.yml
YAML
532
0.8
0
0.090909
python-kit
693
2024-03-07T06:32:39.592597
MIT
false
cdb5520cfdeed9905e20c503a609752c
auth_code:\n on: 開\n mailer:\n subject: wallabag 驗證碼\n body:\n hello: 嗨 %user%,\n first_para: 由於你要求雙重驗證才能登入你的 wallabag 帳戶,而一個新裝置剛剛使用了此帳戶,因此我們向你發送一個代碼以驗證其連線。\n second_para: 這是代碼:\n support: 如有你任何問題,請隨時與我們聯繫:\n signature: wallabag 團隊\n
dataset_sample\yaml\php\wallabag_user.zh_Hant.yml
wallabag_user.zh_Hant.yml
YAML
462
0.7
0
0
react-lib
54
2023-11-10T10:24:47.374341
GPL-3.0
false
cab1e144c90bfb219e0412401dfddf4a
# scrutinizer-ci.com configuration\nimports:\n - javascript\n - php\nfilter:\n excluded_paths:\n - build/\n - node_modules/\n - public/js/\n - tmp/\n - vendor/\n - tests/doctum-config.php\nchecks:\n javascript: true\n php: true\ntools:\n external_code_coverage:\n runs: 4 # php 7.x versions\n timeout: 900 # 15 min\nbuild:\n nodes:\n analysis:\n environment:\n php: 8.2\n node: 16\n dependencies:\n before:\n - composer config --unset repositories.0\n - composer install\n - composer require tecnickcom/tcpdf pragmarx/google2fa-qrcode bacon/bacon-qr-code code-lts/u2f-php-server\n tests:\n override:\n - php-scrutinizer-run\n - phpcs-run\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.scrutinizer.yml
.scrutinizer.yml
YAML
727
0.95
0
0.029412
python-kit
417
2024-02-18T07:47:41.887290
MIT
false
57a1d14b259cab0341f980d09b067c88
name: Bug report\ndescription: Create a report to help us improve phpMyAdmin\ntitle: "[Bug]: "\nlabels: ["Bug"]\n\nbody:\n - type: textarea\n id: description\n attributes:\n label: Describe the bug\n description: A clear and concise description of what the bug is.\n placeholder: When ...\n validations:\n required: true\n - type: textarea\n id: how-to-reproduce\n attributes:\n label: How to Reproduce\n description: Give us the steps to reproduce the bug on our side.\n placeholder: |\n 1. Go to '...'\n 2. Click on '....'\n 3. Scroll down to '....'\n 4. See error\n - type: textarea\n id: expected\n attributes:\n label: Expected behavior\n description: A clear and concise description of what you expected to happen.\n placeholder: I expected ...\n - type: textarea\n id: screenshots\n attributes:\n label: Screenshots\n description: If applicable, add screenshots to help explain the bug.\n - type: dropdown\n id: operating-systems\n attributes:\n label: Operating System\n description: In which operating system this bug appears?\n multiple: true\n options:\n - Linux\n - macOS\n - Windows\n - type: input\n id: web-server\n attributes:\n label: Web Server\n placeholder: Apache/2.4.63\n - type: dropdown\n id: database-server\n attributes:\n label: Database Server\n description: In which database server this bug appears?\n multiple: true\n options:\n - MySQL\n - MariaDB\n - PerconaDB\n - AuroraDB (by AWS)\n - Other\n - type: input\n id: database-version\n attributes:\n label: Database version\n placeholder: SELECT @@version;\n - type: input\n id: php-version\n attributes:\n label: PHP version\n placeholder: 8.3.1\n - type: input\n id: phpmyadmin-version\n attributes:\n label: phpMyAdmin version\n placeholder: 5.2.1\n validations:\n required: true\n - type: input\n id: browser\n attributes:\n label: browser\n placeholder: Firefox v136.0.2\n - type: textarea\n id: additional-context\n attributes:\n label: Additional context\n description: Add any other context about the bug here.\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\ISSUE_TEMPLATE\bug_report.yml
bug_report.yml
YAML
2,251
0.85
0
0
node-utils
790
2024-06-29T09:35:24.498610
BSD-3-Clause
false
03842ac2969b11eec2f86dd3f2556e3d
name: Feature request\ndescription: Suggest an idea for phpMyAdmin\ntitle: "[Feat]: "\nlabels: ["Enhancement"]\n\nbody:\n - type: input\n id: phpmyadmin-version\n attributes:\n label: phpMyAdmin version\n placeholder: 5.2.1\n validations:\n required: true\n - type: textarea\n id: feat-description\n attributes:\n label: Describe the feature\n description: Is your feature request related to a problem? Please describe.\n placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]\n validations:\n required: true\n - type: textarea\n id: solution-description\n attributes:\n label: Describe the solution\n description: Describe the solution you'd like\n placeholder: A clear and concise description of what you want to happen.\n validations:\n required: true\n - type: textarea\n id: alternatives-description\n attributes:\n label: Describe the alternatives\n description: Describe alternatives you've considered\n placeholder: A clear and concise description of any alternative solutions or features you've considered.\n validations:\n required: false\n - type: textarea\n id: additional-context\n attributes:\n label: Additional context\n description: Add additional context here\n placeholder: Add any other context or screenshots about the feature request here.\n validations:\n required: false\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\ISSUE_TEMPLATE\feature_request.yml
feature_request.yml
YAML
1,447
0.85
0.022222
0
react-lib
340
2023-12-24T18:03:03.686323
MIT
false
30466c14d2e645a872744196cde4ff71
name: Security report\ndescription: Disclose a security vulnerability responsibly by first reporting it to us privately\ntitle: "[Security]: "\nlabels: ["Bug"]\n\nbody:\n - type: textarea\n id: description\n attributes:\n label: DON'T REPORT IN HERE\n placeholder: |\n Security problems should not be reported here.\n\n See our security page: https://www.phpmyadmin.net/security/\n\n Thanks for your help!\n validations:\n required: true\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\ISSUE_TEMPLATE\security_report.yml
security_report.yml
YAML
467
0.95
0.055556
0
vue-tools
370
2024-05-07T12:35:34.993843
MIT
false
0dbf6505b20600b677b7d46b97d480b1
name: Daily snapshots\n\non:\n pull_request:\n paths:\n - '.github/workflows/daily-snapshots.yml'\n - 'bin/**'\n workflow_dispatch:\n schedule:\n - cron: '0 0 * * *'\n\npermissions:\n contents: read\n\njobs:\n generate-snapshots:\n name: Generate ${{ matrix.version }} snapshots\n runs-on: ubuntu-latest\n if: (github.event_name == 'schedule' && github.repository == 'phpmyadmin/phpmyadmin') || (github.event_name != 'schedule')\n strategy:\n fail-fast: false\n matrix:\n include:\n - { version: '5.2', branch: 'QA_5_2', php-version: '7.2', node-version: '12', python-version: '3.11' }\n - { version: '6.0', branch: 'master', php-version: '8.2', node-version: '16', python-version: '3.11' }\n steps:\n - name: Check out code\n uses: actions/checkout@v4\n with:\n ref: ${{ matrix.branch }}\n\n - name: Install Gettext\n run: sudo apt-get install -y gettext\n\n - name: Set up PHP ${{ matrix.php-version }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php-version }}\n extensions: mbstring, iconv, mysqli, zip, gd\n coverage: none\n\n - name: Set up Node ${{ matrix.node-version }}\n uses: actions/setup-node@v4\n with:\n node-version: ${{ matrix.node-version }}\n cache: 'yarn'\n\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v5\n with:\n python-version: ${{ matrix.python-version }}\n\n - name: Install Composer dependencies\n uses: ramsey/composer-install@v3\n\n - name: Install Yarn modules\n run: yarn install --non-interactive\n\n - name: Install Sphinx for the documentation build\n run: pip install 'Sphinx'\n\n - name: Build the release\n if: matrix.branch == 'master'\n run: ./bin/internal/create-release.sh --daily ${{ matrix.version }}+snapshot ${{ matrix.branch }}\n\n - name: Build the release\n if: matrix.branch != 'master'\n run: ./scripts/create-release.sh --daily ${{ matrix.version }}+snapshot ${{ matrix.branch }}\n\n - name: Check release excludes\n if: matrix.branch == 'master'\n run: ./bin/internal/check-release-excludes.sh release/phpMyAdmin-${{ matrix.version }}+snapshot-all-languages.tar.gz\n continue-on-error: true\n\n - name: Check release excludes\n if: matrix.branch != 'master'\n run: ./scripts/check-release-excludes.sh release/phpMyAdmin-${{ matrix.version }}+snapshot-all-languages.tar.gz\n continue-on-error: true\n\n - name: Upload snapshots\n uses: actions/upload-artifact@v4\n with:\n name: phpMyAdmin-${{ matrix.version }}-snapshots\n path: release/*\n retention-days: 1\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\daily-snapshots.yml
daily-snapshots.yml
YAML
2,782
0.8
0.070588
0
python-kit
90
2025-04-05T16:47:31.094773
GPL-3.0
false
fe7d8adf5ab1567ff5eda59dc9ac0a21
name: Lint and analyse php files\n\non:\n push:\n pull_request:\n types: [opened, synchronize, reopened]\n branches:\n - master\n - QA_**\n\npermissions:\n contents: read\n\njobs:\n lint-php-files:\n runs-on: ubuntu-latest\n strategy:\n matrix:\n php-version: ["8.2"]\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Set up PHP ${{ matrix.php-version }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php-version }}\n\n - name: Validate composer.json and composer.lock\n run: composer validate --strict\n\n - name: Install Composer dependencies\n # Allow the previous check to fail but not abort\n if: always()\n uses: ramsey/composer-install@v3\n with:\n # Ignore zip for php-webdriver/webdriver\n composer-options: "--ignore-platform-req=ext-zip"\n\n - name: Cache coding-standard\n # Allow the previous check to fail but not abort\n if: always()\n uses: actions/cache@v4\n with:\n path: .phpcs-cache\n key: phpcs-cache\n\n - name: Lint PHP files\n # Allow the previous check to fail but not abort\n if: always()\n run: ./tests/ci-phplint\n\n - name: Check coding-standard\n # Allow the previous check to fail but not abort\n if: always()\n run: composer phpcs\n\n - name: Check Twig templates\n # Allow the previous check to fail but not abort\n if: always()\n run: composer run twig-lint\n\n analyse-php:\n runs-on: ubuntu-latest\n strategy:\n matrix:\n php-version: ["8.2"]\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Set up PHP ${{ matrix.php-version }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php-version }}\n extensions: mbstring, iconv, mysqli, zip, gd, bz2\n\n - name: Install Composer dependencies\n uses: ramsey/composer-install@v3\n\n - name: Analyse files with PHPStan\n run: composer phpstan -- --memory-limit 2G\n\n - name: Analyse files with Psalm\n # Allow the previous check to fail but not abort\n if: always()\n run: composer psalm -- --shepherd\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\lint-and-analyse-php.yml
lint-and-analyse-php.yml
YAML
2,277
0.8
0.08046
0.097222
node-utils
751
2024-01-03T14:56:17.431398
MIT
false
15291c4256f29f9f93a49a2aac17ebc7
name: Lint php documentation\n\non:\n push:\n pull_request:\n types: [opened, synchronize, reopened]\n branches:\n - master\n - QA_**\n\npermissions:\n contents: read\n\njobs:\n lint-docs:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Lint phpdoc blocks\n uses: sudo-bot/action-doctum@v5\n with:\n config-file: tests/doctum-config.php\n method: "parse"\n cli-args: "--output-format=github --no-ansi --no-progress -v --ignore-parse-errors"\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\lint-docs.yml
lint-docs.yml
YAML
550
0.7
0
0
react-lib
621
2023-09-18T23:32:52.315709
MIT
false
48136468cdb77fae30c27047f314113c
name: 'Lock threads'\n\non:\n schedule:\n - cron: '0 0 * * *'\n\npermissions:\n contents: read\n\njobs:\n lock:\n permissions:\n issues: write # for dessant/lock-threads to lock issues\n runs-on: ubuntu-latest\n steps:\n - uses: dessant/lock-threads@v5\n with:\n github-token: ${{ github.token }}\n process-only: 'issues'\n issue-inactive-days: 365\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\lock.yml
lock.yml
YAML
390
0.8
0.05
0
python-kit
818
2024-07-13T19:49:12.030563
GPL-3.0
false
0389f103cc62d3d5279e42b3a25aaf3a
name: Check other tools and scripts\n\non:\n push:\n pull_request:\n types: [opened, synchronize, reopened]\n branches:\n - master\n - QA_**\n\npermissions:\n contents: read\n\njobs:\n build-documentation:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Install Sphinx for the documentation build\n run: |\n sudo apt-get update\n sudo apt-get install -y sphinx-doc python3-sphinx\n\n - name: Build the documentation\n run: make -C docs html SPHINXOPTS='-n -W -a'\n\n build-release:\n runs-on: ubuntu-latest\n strategy:\n matrix:\n php-version: ["8.2"]\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Install gettext\n run: sudo apt-get install -y gettext\n\n - name: Set up PHP ${{ matrix.php-version }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php-version }}\n extensions: mbstring, iconv, mysqli, zip, gd\n tools: composer:v2\n\n - name: Install Composer dependencies\n uses: ramsey/composer-install@v3\n\n - name: Set up Node\n uses: actions/setup-node@v4\n with:\n node-version: '16'\n cache: 'yarn'\n\n - name: Set up Python\n uses: actions/setup-python@v5\n with:\n python-version: '3.11'\n\n - name: Install Sphinx for the documentation build\n run: pip install 'Sphinx'\n\n - name: Build the release\n run: ./bin/internal/create-release.sh --ci\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\other-tools.yml
other-tools.yml
YAML
1,563
0.7
0.030303
0
awesome-app
599
2024-05-17T13:12:11.723434
BSD-3-Clause
false
e26d8d5978e13e4c87c27daf0c63e200
name: ShellCheck\n\non:\n push:\n paths:\n - 'bin/**'\n pull_request:\n paths:\n - 'bin/**'\n\npermissions:\n contents: read\n\njobs:\n shellcheck:\n name: ShellCheck\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Run ShellCheck\n uses: reviewdog/action-shellcheck@v1\n with:\n path: bin\n check_all_files_with_shebangs: true\n fail_on_error: true\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\shellcheck.yml
shellcheck.yml
YAML
455
0.8
0
0
python-kit
636
2024-12-26T13:29:14.935702
GPL-3.0
false
b2431fa7608225ad73ccbf70679a0cae
name: "Manage stale PRs/issues"\n\npermissions:\n issues: write\n\non:\n schedule:\n - cron: "30 1 * * *"\n\njobs:\n run-stale-check:\n name: Check for stale PRs/issues\n runs-on: ubuntu-latest\n permissions:\n issues: write\n steps:\n - uses: actions/stale@v9\n with:\n days-before-stale: 15\n days-before-close: -1\n only-issue-labels: "Awaiting Author Updates"\n close-issue-message: >\n The phpMyAdmin team is awaiting an update on this issue.\n Please check that all the questions have been answered.\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\stale.yml
stale.yml
YAML
576
0.7
0.041667
0
python-kit
489
2024-06-12T07:27:39.528968
GPL-3.0
false
f89b55f9b6d9d74182b632154a51a25e
name: Update translation files\n\non:\n workflow_dispatch:\n schedule:\n - cron: '0 0 * * 0'\n\npermissions:\n contents: read\n\njobs:\n update-po:\n permissions:\n contents: write # for Git to git push\n name: Update po files\n runs-on: ubuntu-latest\n # Source: https://github.community/t/do-not-run-cron-workflows-in-forks/17636/2?u=williamdes\n if: (github.event_name == 'schedule' && github.repository == 'phpmyadmin/phpmyadmin') || (github.event_name != 'schedule')\n strategy:\n matrix:\n php-version: ["8.2"]\n steps:\n - name: Checkout code\n uses: actions/checkout@v4\n\n - name: Install Gettext\n run: |\n sudo apt-get install -y gettext\n\n - name: Set up PHP ${{ matrix.php-version }}\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php-version }}\n tools: composer:v2\n\n - name: Install Composer dependencies\n uses: ramsey/composer-install@v3\n\n - name: Set up git config\n run: |\n git config user.name "phpMyAdmin bot"\n git config user.email bot@phpmyadmin.net\n\n - name: Update PO files\n run: |\n ./bin/update-po\n\n - name: Push changes\n run: |\n git push\n
dataset_sample\yaml\phpmyadmin_phpmyadmin\.github\workflows\update-po.yml
update-po.yml
YAML
1,252
0.8
0.04
0.02439
awesome-app
428
2024-08-12T12:00:08.488147
BSD-3-Clause
false
f44041fbdc1a033d33d591021a3635bc
checks:\n php: true\n\ncoding_style:\n php:\n spaces:\n before_parentheses:\n closure_definition: true\n around_operators:\n concatenation: true\n\nbuild:\n nodes:\n analysis:\n image: default-bionic\n environment:\n php: 8.2\n tests:\n override:\n - php-scrutinizer-run\n\ntools:\n external_code_coverage:\n timeout: 600\n\nbuild_failure_conditions:\n - 'elements.rating(<= D).new.exists' # No new classes/methods with a rating of D or worse allowed\n - 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity\n - 'project.metric_change("scrutinizer.test_coverage", < 0)' # Code Coverage decreased from previous inspection\n - 'patches.label("Unused Use Statements").new.exists' # No new unused imports patches allowed\n
dataset_sample\yaml\PHPOffice_PhpSpreadsheet\.scrutinizer.yml
.scrutinizer.yml
YAML
942
0.95
0
0
react-lib
795
2024-07-10T05:12:37.868462
MIT
false
88b2efe67c206e8aa04044cc48892ea1
site_name: PhpSpreadsheet Documentation\nrepo_url: https://github.com/PHPOffice/phpspreadsheet\nedit_uri: edit/master/docs/\n\ntheme: readthedocs\nextra_css:\n - extra/extra.css\nextra_javascript:\n - extra/extrajs.js\n
dataset_sample\yaml\PHPOffice_PhpSpreadsheet\mkdocs.yml
mkdocs.yml
YAML
216
0.8
0
0
vue-tools
487
2024-02-12T02:41:53.464207
BSD-3-Clause
false
44200b0689a6bafe684f54ccefe86a90
version: 2\nupdates:\n- package-ecosystem: composer\n directory: "/"\n schedule:\n interval: monthly\n time: "11:00"\n open-pull-requests-limit: 10\n
dataset_sample\yaml\PHPOffice_PhpSpreadsheet\.github\dependabot.yml
dependabot.yml
YAML
150
0.7
0
0
awesome-app
590
2024-01-17T08:34:35.098151
GPL-3.0
false
2ec0094f142747f8cc6c28b39d2b1c60
# Number of days of inactivity before an issue becomes stale\ndaysUntilStale: 60\n# Number of days of inactivity before a stale issue is closed\ndaysUntilClose: 7\n# Issues with these labels will never be considered stale\nexemptLabels:\n - pinned\n - security\n# Label to use when marking an issue as stale\nstaleLabel: stale\n# Comment to post when marking an issue as stale. Set to `false` to disable\nmarkComment: >\n This issue has been automatically marked as stale because it has not had\n recent activity. It will be closed if no further activity occurs.\n\n If this is still an issue for you, please try to help by debugging it\n further and sharing your results.\n\n Thank you for your contributions.\n\n# Comment to post when closing a stale issue. Set to `false` to disable\ncloseComment: false\n
dataset_sample\yaml\PHPOffice_PhpSpreadsheet\.github\stale.yml
stale.yml
YAML
793
0.8
0.181818
0.315789
react-lib
218
2023-10-24T11:36:48.509045
MIT
false
a3c0e13b08cd332c16b131513323e6ac
# Label used to mark issues as support requests\nsupportLabel: question\n# Comment to post on issues marked as support requests. Add a link\n# to a support page, or set to `false` to disable\nsupportComment: >\n This looks like a support question. Please ask your support questions on\n [StackOverflow](https://stackoverflow.com/questions/tagged/phpspreadsheet),\n or [Gitter](https://gitter.im/PHPOffice/PhpSpreadsheet).\n\n Thank you for your contributions.\n\n# Whether to close issues marked as support requests\nclose: true\n# Whether to lock issues marked as support requests\nlock: false\n
dataset_sample\yaml\PHPOffice_PhpSpreadsheet\.github\support.yml
support.yml
YAML
585
0.8
0.066667
0.384615
awesome-app
121
2024-09-29T05:35:30.657015
Apache-2.0
false
d6410c6b84b8c232e887571fdcb75c1d
name: GithHub Pages\non:\n push:\n tags:\n - '*'\n\npermissions: {}\njobs:\n github-pages:\n permissions:\n contents: write # to push pages branch (peaceiris/actions-gh-pages)\n\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.3\n coverage: none # remove xdebug\n\n - name: Build API documentation\n run: |\n curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.5.0/phpDocumentor.phar\n php phpDocumentor.phar --directory src/ --target docs/api\n\n - name: Deploy to GithHub Pages\n uses: peaceiris/actions-gh-pages@v3\n with:\n github_token: ${{ secrets.GITHUB_TOKEN }}\n publish_dir: ./docs/api\n
dataset_sample\yaml\PHPOffice_PhpSpreadsheet\.github\workflows\github-pages.yml
github-pages.yml
YAML
872
0.8
0
0
node-utils
148
2024-05-22T09:11:10.054404
Apache-2.0
false
907d4b5fd284d8e919703e3da32a0bc4
name: main\non: [ push, pull_request, merge_group ]\npermissions:\n contents: read # to fetch code (actions/checkout)\njobs:\n test:\n runs-on: ubuntu-latest\n strategy:\n matrix:\n experimental:\n - false\n php-version:\n - '8.1'\n - '8.2'\n - '8.3'\n - '8.4'\n\n include:\n - php-version: 'nightly'\n experimental: true\n\n name: PHP ${{ matrix.php-version }}\n\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Install locales\n run: sudo apt-get update && sudo apt-get install -y language-pack-fr language-pack-de\n\n - name: Install single-byte locale\n run: sudo sed -i -e 's/# de_DE@euro/de_DE@euro/g' /etc/locale.gen && sudo locale-gen de_DE@euro\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: ${{ matrix.php-version }}\n extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib\n coverage: none\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache composer dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Delete composer lock file\n id: composer-lock\n if: ${{ matrix.php-version == 'nightly' }}\n run: |\n rm composer.lock\n echo "flags=--ignore-platform-reqs" >> $GITHUB_OUTPUT\n\n - name: Install dependencies\n run: composer install --no-progress --prefer-dist --optimize-autoloader ${{ steps.composer-lock.outputs.flags }}\n\n - name: Setup problem matchers for PHP\n run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"\n\n - name: Setup problem matchers for PHPUnit\n run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"\n\n - name: "Run PHPUnit tests (Experimental: ${{ matrix.experimental }})"\n env:\n FAILURE_ACTION: "${{ matrix.experimental == true }}"\n run: vendor/bin/phpunit --display-incomplete --display-skipped --display-deprecations --display-errors --display-notices --display-warnings || $FAILURE_ACTION\n\n phpdoc-types:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 2\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.3\n extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib\n coverage: none\n\n # This is non-ideal because it only checks for the last commit of the PR, not all of them, but better than nothing\n - name: Check PHPDoc types\n run: ./bin/check-phpdoc-types.php\n\n php-cs-fixer:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.3\n extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib\n coverage: none\n tools: cs2pr\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache composer dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Install dependencies\n run: composer install --no-progress --prefer-dist --optimize-autoloader\n\n - name: Code style with PHP-CS-Fixer\n run: (./vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr) || ./vendor/bin/php-cs-fixer fix --diff --dry-run\n\n phpcs:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.3\n extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib\n coverage: none\n tools: cs2pr\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache composer dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Install dependencies\n run: composer install --no-progress --prefer-dist --optimize-autoloader\n\n - name: Code style with PHP_CodeSniffer\n run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr\n\n versions:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.3\n extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib\n coverage: none\n tools: cs2pr\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache composer dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Install dependencies\n run: composer install --no-progress --prefer-dist --optimize-autoloader\n\n - name: Code Version Compatibility check with PHP_CodeSniffer\n run: ./vendor/bin/phpcs -q --report-width=200 --report=summary,full src/ --standard=PHPCompatibility --runtime-set testVersion 8.1- --exclude=PHPCompatibility.Variables.ForbiddenThisUseContexts\n\n phpstan:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.3\n extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib\n coverage: none\n tools: cs2pr\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache composer dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Install dependencies\n run: composer install --no-progress --prefer-dist --optimize-autoloader\n\n - name: Static analysis with PHPStan\n run: ./vendor/bin/phpstan analyse\n\n coverage:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 0\n\n - name: Install locales\n run: sudo apt-get update && sudo apt-get install -y language-pack-fr language-pack-de\n\n - name: Install single-byte locale\n run: sudo sed -i -e 's/# de_DE@euro/de_DE@euro/g' /etc/locale.gen && sudo locale-gen de_DE@euro\n\n - name: Setup PHP, with composer and extensions\n uses: shivammathur/setup-php@v2\n with:\n php-version: 8.3\n extensions: ctype, dom, gd, iconv, fileinfo, libxml, mbstring, simplexml, xml, xmlreader, xmlwriter, zip, zlib\n coverage: pcov\n\n - name: Get composer cache directory\n id: composer-cache\n run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT\n\n - name: Cache composer dependencies\n uses: actions/cache@v4\n with:\n path: ${{ steps.composer-cache.outputs.dir }}\n key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}\n restore-keys: ${{ runner.os }}-composer-\n\n - name: Install dependencies\n run: composer install --no-progress --prefer-dist --optimize-autoloader\n\n - name: Coverage\n run: |\n ./vendor/bin/phpunit --coverage-clover coverage-clover.xml\n composer global require scrutinizer/ocular\n ~/.composer/vendor/bin/ocular code-coverage:upload --format=php-clover coverage-clover.xml\n\n release:\n permissions:\n contents: write # to create a release (actions/create-release)\n runs-on: ubuntu-latest\n if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')\n steps:\n - uses: actions/checkout@v4\n with:\n ref: ${{ github.ref }} # Otherwise our annotated tag is not fetched and we cannot get correct version\n\n - name: Get release info\n run: git tag --format '%(contents:body)' --points-at > release-body.txt\n\n - uses: ncipollo/release-action@v1\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token\n with:\n bodyFile: release-body.txt\n
dataset_sample\yaml\PHPOffice_PhpSpreadsheet\.github\workflows\main.yml
main.yml
YAML
9,739
0.95
0.018248
0.004484
python-kit
612
2023-11-30T15:40:02.256970
BSD-3-Clause
false
924b20376d7c4321969c41749ed1301a
site_name: PHPWord\nsite_url: https://phpoffice.github.io/PHPWord\nrepo_url: https://github.com/PHPOffice/PHPWord\nrepo_name: PHPOffice/PHPWord\nedit_uri: edit/develop/docs/\n\n## Theme\ntheme:\n name: material\n palette:\n primary: indigo\n features:\n - search.highlight\n - search.suggest\n\n## Plugins\nplugins:\n - search\n - autolink_references:\n autolinks:\n - reference_prefix: GP-\n target_url: https://github.com/<num>\n - reference_prefix: GH-\n target_url: https://github.com/PHPOffice/PHPWord/issues/<num>\n - reference_prefix: CP-\n target_url: https://archive.codeplex.com/?p=phpword&<num>\n\n## Config\nextra:\n generator: false\nmarkdown_extensions:\n ## Syntax highlighting\n - pymdownx.highlight\n - pymdownx.superfences\n ## Support for emojis\n - pymdownx.emoji:\n emoji_index: !!python/name:materialx.emoji.twemoji\n emoji_generator: !!python/name:materialx.emoji.to_svg\n ## Support for call-outs\n - admonition\n - pymdownx.details\nuse_directory_urls: false\n\n## Navigation\nnav:\n - Introduction: 'index.md'\n - Install: 'install.md'\n - Usage:\n - Introduction: 'usage/introduction.md'\n - Containers: 'usage/containers.md'\n - Elements: \n - Introduction: 'usage/elements/index.md'\n - Chart: 'usage/elements/chart.md'\n - Checkbox: 'usage/elements/checkbox.md'\n - Comment: 'usage/elements/comment.md'\n - Field: 'usage/elements/field.md'\n - Footnote & Endnote: 'usage/elements/note.md'\n - Formula: 'usage/elements/formula.md'\n - Image: 'usage/elements/image.md'\n - Line: 'usage/elements/line.md'\n - Link: 'usage/elements/link.md'\n - List: 'usage/elements/list.md'\n - OLE Object: 'usage/elements/oleobject.md'\n - Page Break: 'usage/elements/pagebreak.md'\n - Preserve Text: 'usage/elements/preservetext.md'\n - Ruby: 'usage/elements/ruby.md'\n - Text: 'usage/elements/text.md'\n - TextBox: 'usage/elements/textbox.md'\n - Text Break: 'usage/elements/textbreak.md'\n - Table: 'usage/elements/table.md'\n - Table of contents: 'usage/elements/toc.md'\n - Title: 'usage/elements/title.md'\n - Track Changes: 'usage/elements/trackchanges.md'\n - Watermark: 'usage/elements/watermark.md'\n - Styles: \n - Chart: 'usage/styles/chart.md'\n - Font: 'usage/styles/font.md'\n - Image: 'usage/styles/image.md'\n - Numbering Level: 'usage/styles/numberinglevel.md'\n - Paragraph: 'usage/styles/paragraph.md'\n - Section: 'usage/styles/section.md'\n - Table: 'usage/styles/table.md'\n - Template Processing: 'usage/template.md'\n - Readers: 'usage/readers.md'\n - Writers: 'usage/writers.md'\n - FAQ: 'faq.md'\n - How to: 'howto.md'\n - Credits: 'credits.md'\n - Releases:\n - '1.x':\n - '1.4.0 (WIP)': 'changes/1.x/1.4.0.md'\n - '1.3.0': 'changes/1.x/1.3.0.md'\n - '1.2.0': 'changes/1.x/1.2.0.md'\n - '1.1.0': 'changes/1.x/1.1.0.md'\n - '1.0.0': 'changes/1.x/1.0.0.md'\n - '0.x':\n - '0.18.3': 'changes/0.x/0.18.3.md'\n - '0.18.2': 'changes/0.x/0.18.2.md'\n - '0.18.1': 'changes/0.x/0.18.1.md'\n - '0.18.0': 'changes/0.x/0.18.0.md'\n - '0.17.0': 'changes/0.x/0.17.0.md'\n - '0.16.0': 'changes/0.x/0.16.0.md'\n - '0.15.0': 'changes/0.x/0.15.0.md'\n - '0.14.0': 'changes/0.x/0.14.0.md'\n - '0.13.0': 'changes/0.x/0.13.0.md'\n - '0.12.1': 'changes/0.x/0.12.1.md'\n - '0.12.0': 'changes/0.x/0.12.0.md'\n - '0.11.1': 'changes/0.x/0.11.1.md'\n - '0.11.0': 'changes/0.x/0.11.0.md'\n - '0.10.1': 'changes/0.x/0.10.1.md'\n - '0.10.0': 'changes/0.x/0.10.0.md'\n - '0.9.1': 'changes/0.x/0.9.1.md'\n - '0.9.0': 'changes/0.x/0.9.0.md'\n - '0.8.1': 'changes/0.x/0.8.1.md'\n - '0.8.0': 'changes/0.x/0.8.0.md'\n - '0.7.0': 'changes/0.x/0.7.0.md'\n - Developers:\n - 'Coveralls': 'https://coveralls.io/github/PHPOffice/PHPWord'\n - 'Code Coverage': 'coverage/index.html'\n - 'PHPDoc': 'docs/index.html'\n
dataset_sample\yaml\PHPOffice_PHPWord\mkdocs.yml
mkdocs.yml
YAML
3,998
0.8
0.016667
0.060345
vue-tools
806
2024-10-18T08:06:41.394625
Apache-2.0
false
684dae39b57ba3dfa4679347918ab8e6
version: 2\nmergeable:\n - when: issues.opened\n validate:\n - do: description\n or:\n - and:\n - must_include:\n regex: '^### Bug report'\n - must_include:\n regex: 'https:\/\/phpstan\.org\/r\/'\n - must_exclude:\n regex: '^### Bug report'\n fail:\n - do: comment\n payload:\n body: |\n This bug report is missing a link to reproduction at [phpstan.org/try](https://phpstan.org/try).\n\n It will most likely be closed after manual review.\n - when: issues.opened\n validate:\n - do: description\n or:\n - must_include:\n regex: '^### Bug report'\n - must_include:\n regex: '^### Feature request'\n - must_include:\n regex: 'https:\/\/phpstan\.org\/r\/'\n - must_include:\n regex: 'Internal error'\n fail:\n - do: comment\n payload:\n body: |\n Hi there! :wave:\n\n Looks like you opened an issue without following one of the issue templates:\n\n Bug report 🐛 ([open an issue](https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml))\n ===============\n\n If something isn't working as expected 🤔.\n\n Feature request 🚀 ([open an issue](https://github.com/phpstan/phpstan/issues/new?template=Feature_request.yaml))\n ===============\n\n I have a suggestion (and may want to implement it 🙂)!\n\n Support question ❓ ([open a discussion](https://github.com/phpstan/phpstan/discussions/new?category=support))\n ===============\n\n I need some help with my code because PHPStan doesn't like it.\n\n ------------------\n\n The current issue will be closed. This is a precaution to save maintainer's time, I hope you'll understand.\n\n Sincerely, the bot 🤖\n - do: close\n
dataset_sample\yaml\phpstan_phpstan\.github\mergeable.yml
mergeable.yml
YAML
1,977
0.8
0.032787
0
react-lib
514
2024-07-18T09:44:12.623507
MIT
false
b1ef0ee271be83f575fbb9725fe81b59
blank_issues_enabled: false\ncontact_links:\n - name: Support question ❓\n url: https://github.com/phpstan/phpstan/discussions/new\n about: Please open a new discussion instead. Thank you.\n
dataset_sample\yaml\phpstan_phpstan\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
194
0.8
0
0
vue-tools
705
2024-07-09T17:52:13.212232
BSD-3-Clause
false
5e7f422960d768b48baa2efa2757f552
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Build Identifier Extractor"\n\non:\n pull_request:\n paths:\n - 'identifier-extractor/**'\n - '.github/workflows/build-identifier-extractor.yml'\n push:\n branches:\n - "2.1.x"\n paths:\n - 'identifier-extractor/**'\n - '.github/workflows/build-identifier-extractor.yml'\n\njobs:\n build-identifier-extractor:\n name: "Build Identifier Extractor"\n\n runs-on: "ubuntu-latest"\n timeout-minutes: 60\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n php-version: "8.1"\n\n - name: "Install Identifier Extractor dependencies"\n working-directory: "identifier-extractor"\n run: "composer install --no-interaction --no-progress"\n\n - name: "PHPStan"\n working-directory: "identifier-extractor"\n run: ../phpstan\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\build-identifier-extractor.yml
build-identifier-extractor.yml
YAML
1,001
0.8
0
0.03125
awesome-app
608
2025-05-31T01:28:50.379179
Apache-2.0
false
1d4161da2f5e850db4e312122ad4d042
# From:\n # https://www.docker.com/blog/docker-github-actions/\n # https://github.com/metcalfc/docker-action-examples\n\nname: Docker image nightly\n\non:\n push:\n branches:\n - "2.1.x"\n paths:\n - '.github/workflows/docker-nightly.yml'\n - 'docker/**'\n - 'phpstan'\n - '.phar-checksum'\n - 'bootstrap.php'\n\njobs:\n docker:\n runs-on: ubuntu-latest\n concurrency: docker-nightly-${{ github.ref }}-${{ matrix.docker-file }}\n strategy:\n fail-fast: false\n matrix:\n include:\n - docker-file: "./docker/Dockerfile.php.8.4"\n image-tag-suffix: ""\n - docker-file: "./docker/Dockerfile.php.8.0"\n image-tag-suffix: "-php8.0"\n - docker-file: "./docker/Dockerfile.php.8.1"\n image-tag-suffix: "-php8.1"\n - docker-file: "./docker/Dockerfile.php.8.2"\n image-tag-suffix: "-php8.2"\n - docker-file: "./docker/Dockerfile.php.8.3"\n image-tag-suffix: "-php8.3"\n - docker-file: "./docker/Dockerfile.php.8.4"\n image-tag-suffix: "-php8.4"\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Set up QEMU\n uses: docker/setup-qemu-action@v3\n\n - name: Set up Docker Buildx\n id: buildx\n uses: docker/setup-buildx-action@v3\n\n - name: Login to ghcr\n uses: docker/login-action@v3\n with:\n registry: ghcr.io\n username: ${{ github.repository_owner }}\n password: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Build and push\n uses: docker/build-push-action@v5\n with:\n builder: ${{ steps.buildx.outputs.name }}\n context: ./docker\n file: "${{ matrix.docker-file }}"\n build-args: |\n PHPSTAN_VERSION=2.1.x-dev#${{ github.sha }}\n push: true\n tags: "ghcr.io/phpstan/phpstan:nightly${{ matrix.image-tag-suffix }}"\n platforms: linux/amd64,linux/arm64\n cache-from: type=gha, scope=${{ github.workflow }}\n cache-to: type=gha, scope=${{ github.workflow }}\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\docker-nightly.yml
docker-nightly.yml
YAML
2,084
0.8
0
0.04918
react-lib
361
2023-07-30T07:24:13.670528
MIT
false
a56d0c4b0732f85dbe03a94a4cf4ed88
# From:\n # https://www.docker.com/blog/docker-github-actions/\n # https://github.com/metcalfc/docker-action-examples\n\nname: Docker image stable\n\non:\n push:\n tags:\n - '2.*'\n\njobs:\n docker:\n runs-on: ubuntu-latest\n concurrency: docker-stable-${{ github.ref }}-${{ matrix.docker-file }}\n strategy:\n fail-fast: false\n matrix:\n include:\n - docker-file: "./docker/Dockerfile.php.8.4"\n image-tag-suffix: ""\n - docker-file: "./docker/Dockerfile.php.8.0"\n image-tag-suffix: "-php8.0"\n - docker-file: "./docker/Dockerfile.php.8.1"\n image-tag-suffix: "-php8.1"\n - docker-file: "./docker/Dockerfile.php.8.2"\n image-tag-suffix: "-php8.2"\n - docker-file: "./docker/Dockerfile.php.8.3"\n image-tag-suffix: "-php8.3"\n - docker-file: "./docker/Dockerfile.php.8.4"\n image-tag-suffix: "-php8.4"\n steps:\n - name: Checkout\n uses: actions/checkout@v4\n\n - name: Set up QEMU\n uses: docker/setup-qemu-action@v3\n\n - name: Set up Docker Buildx\n id: buildx\n uses: docker/setup-buildx-action@v3\n\n - name: Login to ghcr\n uses: docker/login-action@v3\n with:\n registry: ghcr.io\n username: ${{ github.repository_owner }}\n password: ${{ secrets.GITHUB_TOKEN }}\n\n - name: Get the version\n id: get_version\n run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT\n\n - name: Build and push\n uses: docker/build-push-action@v5\n with:\n builder: ${{ steps.buildx.outputs.name }}\n context: ./docker\n file: "${{ matrix.docker-file }}"\n build-args: |\n PHPSTAN_VERSION=${{ steps.get_version.outputs.VERSION }}\n push: true\n tags: "ghcr.io/phpstan/phpstan:latest${{ matrix.image-tag-suffix }},ghcr.io/phpstan/phpstan:2${{ matrix.image-tag-suffix }},ghcr.io/phpstan/phpstan:${{ steps.get_version.outputs.VERSION }}${{ matrix.image-tag-suffix }}"\n platforms: linux/amd64,linux/arm64\n cache-from: type=gha, scope=${{ github.workflow }}\n cache-to: type=gha, scope=${{ github.workflow }}\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\docker-stable.yml
docker-stable.yml
YAML
2,220
0.8
0
0.051724
react-lib
968
2023-07-26T00:27:57.215846
Apache-2.0
false
983872028da2bff5ddf1a92293dec227
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Extract identifiers"\n\non:\n push:\n branches:\n - "2.1.x"\n paths:\n - '.github/workflows/extract-identifiers.yml'\n - 'identifier-extractor/**'\n - '.phar-checksum'\n\nconcurrency:\n group: extract-identifiers-${{ github.ref }} # will be canceled on subsequent pushes\n cancel-in-progress: true\n\njobs:\n extract:\n name: "Extract identifiers"\n runs-on: "ubuntu-latest"\n\n strategy:\n matrix:\n repository:\n - "phpstan/phpstan-src"\n - "phpstan/phpstan-strict-rules"\n - "phpstan/phpstan-deprecation-rules"\n - "phpstan/phpstan-doctrine"\n - "phpstan/phpstan-symfony"\n - "phpstan/phpstan-phpunit"\n - "phpstan/phpstan-nette"\n - "phpstan/phpstan-dibi"\n #- "phpstan/phpstan-php-parser"\n - "phpstan/phpstan-beberlei-assert"\n - "phpstan/phpstan-webmozart-assert"\n - "phpstan/phpstan-mockery"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Checkout"\n uses: actions/checkout@v4\n with:\n repository: ${{ matrix.repository }}\n path: "identifier-extractor/repo"\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n php-version: "8.1"\n\n - name: "Install extractor dependencies"\n working-directory: "identifier-extractor"\n run: "composer install --no-interaction --no-progress"\n\n - name: "Repository name"\n id: repo-name\n run: echo "name=$(basename "${{ matrix.repository }}")" >> $GITHUB_OUTPUT\n\n - name: "Branch name"\n id: branch-name\n working-directory: "identifier-extractor/repo"\n run: echo "name=$(git branch --show)" >> $GITHUB_OUTPUT\n\n - name: "Extract"\n working-directory: "identifier-extractor/repo"\n run: ../../phpstan analyse -c ../extractor.neon -a ../vendor/autoload.php > ../${{ steps.repo-name.outputs.name }}.json\n env:\n REPO: ${{ matrix.repository }}\n BRANCH: ${{ steps.branch-name.outputs.name }}\n\n - uses: actions/upload-artifact@v4\n with:\n name: identifiers-${{ steps.repo-name.outputs.name }}\n path: identifier-extractor/${{ steps.repo-name.outputs.name }}.json\n\n merge:\n name: "Merge and commit identifiers"\n needs: extract\n\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n with:\n token: ${{ secrets.PHPSTAN_BOT_TOKEN }}\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n php-version: "8.1"\n\n - name: "Install extractor dependencies"\n working-directory: "identifier-extractor"\n run: "composer install --no-interaction --no-progress"\n\n - uses: actions/download-artifact@v4\n with:\n pattern: identifiers-*\n path: identifier-extractor/tmp\n\n - name: "Merge"\n working-directory: "identifier-extractor"\n run: "php merge.php > ../website/src/errorsIdentifiers.json"\n\n - name: Import GPG key\n uses: crazy-max/ghaction-import-gpg@v6\n with:\n gpg_private_key: ${{ secrets.GPG_PHPSTANBOT_PRIVATE_KEY }}\n passphrase: ${{ secrets.GPG_PHPSTANBOT_KEY_PASSPHRASE }}\n git_config_global: true\n git_user_signingkey: true\n git_commit_gpgsign: true\n\n - name: "Commit changes"\n uses: "stefanzweifel/git-auto-commit-action@v5"\n id: "commit"\n with:\n commit_message: "Update errors identifiers"\n commit_user_name: "phpstan-bot"\n commit_user_email: "ondrej+phpstanbot@mirtes.cz"\n commit_author: "phpstan-bot <ondrej+phpstanbot@mirtes.cz>"\n commit_options: "--gpg-sign"\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\extract-identifiers.yml
extract-identifiers.yml
YAML
3,911
0.95
0
0.018868
react-lib
190
2024-10-10T18:30:44.646058
BSD-3-Clause
false
1f6fcd72d1647559dfec10834b0312c9
name: 'Lock Issues'\n\non:\n schedule:\n - cron: '2 1 * * *'\n\nconcurrency: lock_issues\n\njobs:\n lock:\n runs-on: ubuntu-latest\n steps:\n - uses: dessant/lock-threads@v5\n with:\n github-token: ${{ github.token }}\n issue-inactive-days: '31'\n exclude-issue-created-before: ''\n exclude-any-issue-labels: ''\n add-issue-labels: ''\n issue-comment: >\n This thread has been automatically locked since there has not been\n any recent activity after it was closed. Please open a new issue for\n related bugs.\n issue-lock-reason: 'resolved'\n process-only: 'issues'\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\lock-closed-issues.yml
lock-closed-issues.yml
YAML
671
0.7
0.04
0
react-lib
406
2024-11-21T19:50:03.239486
GPL-3.0
false
9eba0ead730b0c23aba1b50bcca0c269
name: Bump Homebrew formula\n\n# More triggers\n# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#release\n\n# GitHub event payload\n# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release\n\non:\n release:\n types: [published]\n\njobs:\n bump:\n if: startsWith(github.ref, 'refs/tags/2.')\n runs-on: ubuntu-latest\n steps:\n - name: Update Homebrew formula\n uses: dawidd6/action-homebrew-bump-formula@v3\n with:\n token: ${{ secrets.PHPSTAN_BOT_TOKEN }}\n formula: phpstan\n tag: ${{ github.event.release.tag_name }}\n revision: ${{ github.event.release.target_commitish }}\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\release-homebrew.yml
release-homebrew.yml
YAML
709
0.8
0.041667
0.2
python-kit
914
2025-06-07T09:41:57.009096
GPL-3.0
false
27d330c481636b2d52eaba73858df77d
name: Toot release\n\n# More triggers\n# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#release\non:\n release:\n types: [published]\n\njobs:\n toot:\n runs-on: ubuntu-latest\n steps:\n - uses: cbrgm/mastodon-github-action@v2\n if: ${{ !github.event.repository.private }}\n with:\n # GitHub event payload\n # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release\n message: "New release: PHPStan ${{ github.event.release.tag_name }} ${{ github.event.release.html_url }} #phpstan"\n url: https://phpc.social\n access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\release-toot.yml
release-toot.yml
YAML
704
0.8
0.05
0.222222
python-kit
59
2024-02-05T02:28:13.431648
BSD-3-Clause
false
679da98a1acd91a404cbafcfd6098c5b
name: Tweet release\n\n# More triggers\n# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#release\non:\n release:\n types: [published]\n\njobs:\n tweet:\n runs-on: ubuntu-latest\n steps:\n - uses: Eomm/why-don-t-you-tweet@v1\n if: ${{ !github.event.repository.private }}\n with:\n # GitHub event payload\n # https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release\n tweet-message: "New release: PHPStan ${{ github.event.release.tag_name }} ${{ github.event.release.html_url }} #phpstan"\n env:\n # Get your tokens from https://developer.twitter.com/apps\n TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}\n TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}\n TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}\n TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\release-tweet.yml
release-tweet.yml
YAML
1,001
0.8
0.041667
0.227273
node-utils
564
2024-06-17T09:20:57.075131
Apache-2.0
false
2631752e59350521a0d7d4293534d903
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Create release"\n\non:\n push:\n tags:\n - '*'\n\nconcurrency: release\n\njobs:\n deploy:\n name: "Deploy"\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Create release"\n uses: softprops/action-gh-release@v2\n id: release\n with:\n token: ${{ secrets.PHPSTAN_BOT_TOKEN }}\n draft: true\n discussion_category_name: "General"\n files: |\n phpstan.phar\n phpstan.phar.asc\n\n - name: "Print release URL"\n run: echo "${{ steps.release.outputs.url }}" >> $GITHUB_STEP_SUMMARY\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\release.yml
release.yml
YAML
716
0.8
0
0.038462
awesome-app
385
2024-11-22T15:51:08.954244
Apache-2.0
false
d8f83d13460b37ad1d9f621b1e686511
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Spelling"\n\non:\n pull_request:\n push:\n branches:\n - "2.1.x"\n\njobs:\n typos:\n name: "Check for typos"\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Check for typos"\n uses: "crate-ci/typos@v1"\n with:\n files: "README.md website/"\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\spelling.yml
spelling.yml
YAML
425
0.8
0.086957
0.055556
node-utils
757
2024-05-24T16:55:11.113924
Apache-2.0
false
c7ed3b8884c17a82465d0da2717493ad
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: Generate Sponsors\n\non:\n workflow_dispatch:\n schedule:\n - cron: 15 14 * * *\n push:\n branches:\n - "2.1.x"\n paths:\n - '.github/workflows/sponsors.yml'\n - 'BACKERS.md'\n\njobs:\n sponsors:\n runs-on: ubuntu-latest\n steps:\n -\n name: Import GPG key\n id: import-gpg\n uses: crazy-max/ghaction-import-gpg@v6\n with:\n gpg_private_key: ${{ secrets.GPG_PHPSTANBOT_PRIVATE_KEY }}\n passphrase: ${{ secrets.GPG_PHPSTANBOT_KEY_PASSPHRASE }}\n git_config_global: true\n git_user_signingkey: true\n git_commit_gpgsign: true\n\n - name: "Checkout"\n uses: actions/checkout@v4\n with:\n ref: ${{ github.head_ref }}\n token: ${{ secrets.PHPSTAN_BOT_TOKEN }}\n\n - name: "Construct template"\n id: template\n run: |\n echo "text<<MESSAGE" >> $GITHUB_OUTPUT\n echo '<li><a href="https://github.com/{{{ login }}}">{{{ name }}} ({{{ login }}})</a></li>' >> $GITHUB_OUTPUT\n echo "" >> $GITHUB_OUTPUT\n echo 'MESSAGE' >> $GITHUB_OUTPUT\n\n - name: Generate Sponsors\n uses: ondrejmirtes/github-sponsors-readme-action@v1\n with:\n token: ${{ secrets.SPONSORS_PAT }}\n file: 'BACKERS.md'\n minimum: 500\n maximum: 2999\n marker: 'five'\n template: ${{ steps.template.outputs.text }}\n\n - name: Generate Sponsors\n uses: ondrejmirtes/github-sponsors-readme-action@v1\n with:\n token: ${{ secrets.SPONSORS_PAT }}\n file: 'BACKERS.md'\n minimum: 500\n maximum: 2999\n organization: true\n marker: 'five-org'\n template: ${{ steps.template.outputs.text }}\n\n - name: Generate Sponsors\n uses: ondrejmirtes/github-sponsors-readme-action@v1\n with:\n token: ${{ secrets.SPONSORS_PAT }}\n file: 'BACKERS.md'\n minimum: 3000\n maximum: 9999\n marker: 'thirty'\n template: ${{ steps.template.outputs.text }}\n\n - name: Generate Sponsors\n uses: ondrejmirtes/github-sponsors-readme-action@v1\n with:\n token: ${{ secrets.SPONSORS_PAT }}\n file: 'BACKERS.md'\n minimum: 3000\n maximum: 9999\n organization: true\n marker: 'thirty-org'\n template: ${{ steps.template.outputs.text }}\n\n - name: Generate Sponsors\n uses: ondrejmirtes/github-sponsors-readme-action@v1\n with:\n token: ${{ secrets.SPONSORS_PAT }}\n file: 'BACKERS.md'\n minimum: 10000\n marker: 'hundred'\n template: ${{ steps.template.outputs.text }}\n\n - name: Generate Sponsors\n uses: ondrejmirtes/github-sponsors-readme-action@v1\n with:\n token: ${{ secrets.SPONSORS_PAT }}\n file: 'BACKERS.md'\n minimum: 10000\n organization: true\n marker: 'hundred-org'\n template: ${{ steps.template.outputs.text }}\n\n - name: "Commit changes"\n uses: "stefanzweifel/git-auto-commit-action@v5"\n id: "commit"\n with:\n commit_message: "Update BACKERS.md"\n commit_user_name: "phpstan-bot"\n commit_user_email: "ondrej+phpstanbot@mirtes.cz"\n commit_author: "phpstan-bot <ondrej+phpstanbot@mirtes.cz>"\n commit_options: "--gpg-sign"\n\n - name: "Slack Notification"\n if: steps.commit.outputs.changes_detected == 'true'\n uses: rtCamp/action-slack-notify@v2\n env:\n SLACK_CHANNEL: sponsors\n SLACK_MESSAGE: 'https://github.com/phpstan/phpstan/commit/${{ steps.commit.outputs.commit_hash }}'\n SLACK_TITLE: Sponsors changed!\n SLACK_USERNAME: phpstan\n SLACK_WEBHOOK: ${{ secrets.SLACK_SPONSORS_WEBHOOK }}\n MSG_MINIMAL: true\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\sponsors.yml
sponsors.yml
YAML
3,939
0.95
0.008
0.008929
python-kit
669
2024-09-04T16:21:08.595474
GPL-3.0
false
1999ee983e63ffa7f156e4a413ace337
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Update playground API"\n\non:\n push:\n branches:\n - "2.1.x"\n paths:\n - '.github/workflows/update-playground-api.yml'\n - 'playground-api/**'\n\nconcurrency: playground_api\n\njobs:\n build:\n name: "Build"\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Install Node"\n uses: actions/setup-node@v4\n with:\n node-version: "18"\n cache: "npm"\n cache-dependency-path: playground-api/package-lock.json\n\n - name: "Install dependencies"\n working-directory: ./playground-api\n run: "npm ci"\n\n - name: "Check"\n working-directory: ./playground-api\n run: "npm run check"\n\n - name: "Deploy"\n working-directory: ./playground-api\n env:\n AWS_DEFAULT_REGION: "eu-west-1"\n AWS_ACCESS_KEY_ID: ${{ secrets.PLAYGROUND_RUNNER_AWS_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.PLAYGROUND_RUNNER_AWS_SECRET_ACCESS_KEY }}\n run: "npm run deploy"\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\update-playground-api.yml
update-playground-api.yml
YAML
1,134
0.8
0
0.027778
python-kit
309
2024-06-16T03:08:24.767809
GPL-3.0
false
a972620de7982d3c9bd4ae6dfd9e8784
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Update playground runner"\n\non:\n push:\n branches:\n - "2.1.x"\n paths:\n - '.github/workflows/update-playground-runner.yml'\n - 'playground-runner/**'\n - 'phpstan'\n - '.phar-checksum'\n - 'bootstrap.php'\n\nconcurrency: playground_runner\n\njobs:\n deploy:\n name: "Deploy"\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n with:\n fetch-depth: 2\n\n - name: "Install Node"\n uses: actions/setup-node@v4\n with:\n node-version: "18"\n cache: "npm"\n cache-dependency-path: playground-runner/package-lock.json\n\n - name: "Install dependencies"\n working-directory: ./playground-runner\n run: "npm ci"\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n php-version: "8.3"\n\n - name: "Install PHP dependencies"\n working-directory: ./playground-runner\n run: "composer install --no-interaction --no-progress"\n\n - name: "Preflight playground.neon"\n working-directory: ./playground-runner\n run: |\n touch empty.php\n ../phpstan analyse -c playground.neon -l 8 empty.php\n\n - name: "Analyse"\n working-directory: ./playground-runner\n run: "../phpstan"\n\n - name: "Copy current PHAR"\n working-directory: ./playground-runner\n run: |\n cp ../phpstan.phar vendor/phpstan/phpstan/phpstan.phar && \\n cp ../phpstan vendor/phpstan/phpstan/phpstan && \\n cp ../bootstrap.php vendor/phpstan/phpstan/bootstrap.php\n\n - name: "Clean Git directory"\n working-directory: ./playground-runner\n run: rm -rf vendor/phpstan/phpstan/.git\n\n - name: "Deploy"\n working-directory: ./playground-runner\n env:\n AWS_DEFAULT_REGION: "eu-west-1"\n AWS_ACCESS_KEY_ID: ${{ secrets.PLAYGROUND_RUNNER_AWS_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.PLAYGROUND_RUNNER_AWS_SECRET_ACCESS_KEY }}\n run: "npm run deploy"\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\update-playground-runner.yml
update-playground-runner.yml
YAML
2,178
0.8
0
0.015873
vue-tools
491
2024-11-03T13:26:13.260793
Apache-2.0
false
a9c0c815be9d92eba268c18d404e7954
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Check Website Links"\n\non:\n workflow_dispatch:\n repository_dispatch:\n types: [ check_website_links ]\n push:\n branches:\n - "2.1.x"\n paths:\n - '.github/workflows/website-links.yml'\n\njobs:\n website-links:\n name: "Check for broken links"\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Check for broken links"\n uses: ScholliYT/Broken-Links-Crawler-Action@v3\n with:\n website_url: 'https://phpstan.org/'\n resolve_before_filtering: 'true'\n exclude_url_prefix: 'mailto:,https://twitter.com,https://www.startupjobs.cz,https://www.shopware.com,https://github.com/phpstan'\n verbose: 'warning'\n max_retry_time: 30\n max_retries: 5\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\website-links.yml
website-links.yml
YAML
812
0.8
0.068966
0.04
node-utils
873
2023-10-13T01:47:28.643728
MIT
false
7e201c816ea4077775bdb06fc911524b
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions\n\nname: "Website Build"\n\non:\n workflow_dispatch:\n pull_request:\n paths:\n - '.github/workflows/website.yml'\n - 'website/**'\n push:\n branches:\n - "2.1.x"\n paths:\n - '.github/workflows/website.yml'\n - 'website/**'\n\njobs:\n typescript-check:\n name: "TypeScript check"\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Install Node"\n uses: actions/setup-node@v4\n with:\n node-version: "18"\n cache: "npm"\n cache-dependency-path: website/package-lock.json\n\n - name: "Install dependencies"\n working-directory: ./website\n run: "npm ci"\n\n - name: "TypeScript check"\n working-directory: ./website\n run: "npm run check"\n\n build:\n name: "Build"\n runs-on: "ubuntu-latest"\n\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Install Node"\n uses: actions/setup-node@v4\n with:\n node-version: "18"\n cache: "npm"\n cache-dependency-path: website/package-lock.json\n\n - name: "Install PHP"\n uses: "shivammathur/setup-php@v2"\n with:\n coverage: "none"\n php-version: "8.0"\n\n - name: "Install dependencies"\n working-directory: ./website\n run: "npm ci"\n\n - name: "Put release into release.txt"\n working-directory: ./website\n run: echo -n $(git rev-parse --short HEAD) > src/release.txt\n\n - name: "Build"\n working-directory: ./website\n run: "npm run build"\n\n - name: "Upload website dist"\n uses: actions/upload-artifact@v4\n with:\n name: "website-dist"\n path: website/dist\n\n deploy:\n name: "Deploy"\n needs:\n - typescript-check\n - build\n if: "github.ref == 'refs/heads/2.1.x'"\n runs-on: "ubuntu-latest"\n concurrency: website\n steps:\n - name: "Download website dist"\n uses: actions/download-artifact@v4\n with:\n name: website-dist\n path: dist\n\n - name: "Sync with S3"\n uses: jakejarvis/s3-sync-action@v0.5.1\n with:\n args: --exclude '.git*/*' --exclude '*.map' --follow-symlinks\n env:\n SOURCE_DIR: './dist'\n AWS_REGION: 'eu-west-1'\n AWS_S3_BUCKET: "web-phpstan.org"\n AWS_ACCESS_KEY_ID: ${{ secrets.PLAYGROUND_RUNNER_AWS_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.PLAYGROUND_RUNNER_AWS_SECRET_ACCESS_KEY }}\n\n - name: "Invalidate CloudFront"\n uses: chetan/invalidate-cloudfront-action@v2\n env:\n DISTRIBUTION: "E1W83FJ5FCYXPT"\n PATHS: '/*'\n AWS_REGION: 'eu-west-1'\n AWS_ACCESS_KEY_ID: ${{ secrets.PLAYGROUND_RUNNER_AWS_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.PLAYGROUND_RUNNER_AWS_SECRET_ACCESS_KEY }}\n\n - uses: peter-evans/repository-dispatch@v3\n with:\n token: ${{ secrets.PHPSTAN_BOT_TOKEN }}\n event-type: check_website_links\n\n sentry-release:\n name: "Create Sentry release"\n needs:\n - deploy\n runs-on: "ubuntu-latest"\n concurrency: website\n steps:\n - name: "Checkout"\n uses: actions/checkout@v4\n\n - name: "Download website dist"\n uses: actions/download-artifact@v4\n with:\n name: website-dist\n path: dist\n\n - name: Set outputs\n id: vars\n run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT\n\n - name: Create Sentry release\n uses: getsentry/action-release@v1\n env:\n SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}\n SENTRY_ORG: ${{ secrets.SENTRY_ORG }}\n SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}\n with:\n environment: production\n version: ${{ steps.vars.outputs.sha_short }}\n sourcemaps: './dist'\n url_prefix: "https://phpstan.org"\n ignore_missing: true\n ignore_empty: true\n
dataset_sample\yaml\phpstan_phpstan\.github\workflows\website.yml
website.yml
YAML
4,104
0.8
0.006536
0.007692
awesome-app
355
2023-10-23T11:15:44.012160
Apache-2.0
false
3c2d59550b725ac1ffd3b4aa7a21cefc
service: phpstan-playground-api\n\nprovider:\n name: aws\n runtime: nodejs18.x\n architecture: arm64\n stage: prod\n region: eu-west-1\n\nplugins:\n- serverless-plugin-typescript\n- serverless-offline\n\nfunctions:\n analyseResult:\n handler: handler.analyseResult\n role: arn:aws:iam::928192134594:role/lambda-phpstan-playground\n events:\n - http:\n method: post\n path: /analyse\n cors: true\n\n retrieveResult:\n handler: handler.retrieveResult\n role: arn:aws:iam::928192134594:role/lambda-phpstan-playground\n events:\n - http:\n method: get\n path: /result\n cors: true\n\n retrieveSample:\n handler: handler.retrieveSample\n role: arn:aws:iam::928192134594:role/lambda-phpstan-playground\n events:\n - http:\n method: get\n path: /sample\n cors: true\n\n retrieveLegacyResult:\n handler: handler.retrieveLegacyResult\n role: arn:aws:iam::928192134594:role/lambda-phpstan-playground\n events:\n - http:\n method: get\n path: /legacyResult\n cors: true\n
dataset_sample\yaml\phpstan_phpstan\playground-api\serverless.yml
serverless.yml
YAML
1,060
0.85
0
0
node-utils
473
2024-01-19T05:20:10.961576
GPL-3.0
false
b58f68247833c99b54b76f6dafa540c0
service: phpstan-runner\n\nprovider:\n name: aws\n region: eu-west-1\n architecture: arm64\n stage: prod\n versionFunctions: false\n httpApi:\n cors: true\n\nplugins:\n - ./vendor/bref/bref\n\nfunctions:\n main:\n handler: bref.php\n description: ''\n timeout: 20\n runtime: php-83\n ignoreErrors:\n handler: ignoreErrors.php\n runtime: php-83-fpm\n events:\n - httpApi:\n method: 'GET'\n path: /ignoreErrors\n
dataset_sample\yaml\phpstan_phpstan\playground-runner\serverless.yml
serverless.yml
YAML
499
0.85
0
0
awesome-app
626
2023-08-29T05:21:50.730798
GPL-3.0
false
6ffcbe0de90b17a8f78772ab3f969ee9
codecov:\n require_ci_to_pass: no\n notify:\n wait_for_ci: no\n\ncoverage:\n precision: 4\n round: down\n range: "65...90"\n\n # status:\n # project:\n # default:\n # threshold: 0.2 #Allow the coverage to drop by threshold%, and posting a success status.\n # patch:\n # default:\n # target: 0% # trial operation\n\n # Ref: https://docs.codecov.com/docs/commit-status#disabling-a-status\n status:\n project: off # disable it\n patch: off # disable it\n changes: no\n\n# Ref: https://docs.codecov.com/docs/github-checks#disabling-github-checks-completely-via-yaml\ngithub_checks: false\n\nparsers:\n gcov:\n branch_detection:\n conditional: yes\n loop: yes\n method: no\n macro: no\n\ncomment:\n layout: "header, diff, flags, components"\n behavior: default\n require_changes: no\n\ncomponent_management:\n default_rules: # default rules that will be inherited by all components\n statuses:\n - type: project # in this case every component that doens't have a status defined will have a project type one\n target: auto\n informational: true # resulting status will pass no matter what the coverage is or what other settings are specified. \n individual_components:\n - component_id: component_dumpling # this is an identifier that should not be changed\n name: dumpling # this is a display name, and can be changed freely\n paths:\n - dumpling/**\n - component_id: component_parser\n name: parser\n paths:\n - parser/**\n - component_id: component_br\n name: br\n paths:\n - br/**\n # more components.\n\nflag_management:\n default_rules: # the rules that will be followed for any flag added, generally\n carryforward: true\n statuses:\n - type: project\n target: auto\n informational: true # resulting status will pass no matter what the coverage is or what other settings are specified. \n - type: patch\n target: auto\n informational: true # resulting status will pass no matter what the coverage is or what other settings are specified. \n\nignore:\n - "LICENSES"\n - "**/*_test.go"\n - ".git"\n - "**/*.yml"\n - "**/*.md"\n - "cmd"\n - "docs"\n - "vendor"\n - "pkg/ddl/failtest"\n - "pkg/ddl/testutil"\n - "pkg/executor/seqtest"\n - "pkg/metrics"\n - "pkg/expression/generator"\n - "br/pkg/mock"\n - "pkg/testkit"\n - "pkg/server/internal/testutil"\n - "pkg/statistics/handle/cache/internal/testutil"\n - "pkg/session/testutil.go"\n - "pkg/store/mockstore/unistore/testutil.go"\n - "k8s.io/apimachinery/pkg"\n - "build"\n\n
dataset_sample\yaml\pingcap_tidb\.codecov.yml
.codecov.yml
YAML
2,562
0.95
0.010526
0.117647
python-kit
469
2024-10-27T01:16:44.682639
GPL-3.0
false
3b6bde140c0d0fcd1a960e9b0d3962e3
run:\n timeout: 10m\nlinters:\n disable-all: true\n enable:\n - ineffassign\n - typecheck\n - varcheck\n - unused\n - structcheck\n - deadcode\n - gosimple\n - goimports\n - errcheck\n - staticcheck\n - stylecheck\n - gosec\n - asciicheck\n - bodyclose\n - copyloopvar\n - rowserrcheck\n - makezero\n - durationcheck\n - prealloc\n - predeclared\n - revive\n - lll\n - gofmt\n - intrange\n\nlinters-settings:\n staticcheck:\n checks: ["S1002","S1004","S1007","S1009","S1010","S1012","S1019","S1020","S1021","S1024","S1030","SA2*","SA3*","SA4009","SA5*","SA6000","SA6001","SA6005", "-SA2002"]\n stylecheck:\n checks: ["-ST1003"]\n gosec:\n severity: "low"\n confidence: "low"\n excludes:\n - G101\n - G112\n revive:\n # Maximum number of open files at the same time.\n # See https://github.com/mgechev/revive#command-line-flags\n # Defaults to unlimited.\n max-open-files: 2048\n\n # When set to false, ignores files with "GENERATED" header, similar to golint.\n # See https://github.com/mgechev/revive#available-rules for details.\n # Default: false\n ignore-generated-header: true\n\n # Sets the default severity.\n # See https://github.com/mgechev/revive#configuration\n # Default: warning\n severity: error\n\n # Enable all available rules.\n # Default: false\n enable-all-rules: true\n\n # Sets the default failure confidence.\n # This means that linting errors with less than 0.8 confidence will be ignored.\n # Default: 0.8\n confidence: 0.1\n\n rules:\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#add-constant\n - name: add-constant\n severity: warning\n disabled: false\n arguments:\n - maxLitCount: "3"\n allowStrs: '""'\n allowInts: "0,1,2"\n allowFloats: "0.0,0.,1.0,1.,2.0,2."\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#argument-limit\n - name: argument-limit\n severity: warning\n disabled: false\n arguments: [ 4 ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#atomic\n - name: atomic\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#banned-characters\n - name: banned-characters\n severity: warning\n disabled: false\n arguments: [ "Ω","Σ","σ", "7" ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bare-return\n - name: bare-return\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#blank-imports\n - name: blank-imports\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#bool-literal-in-expr\n - name: bool-literal-in-expr\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#call-to-gc\n - name: call-to-gc\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#cognitive-complexity\n - name: cognitive-complexity\n severity: warning\n disabled: false\n arguments: [ 7 ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#comment-spacings\n - name: comment-spacings\n severity: warning\n disabled: false\n arguments:\n - mypragma\n - otherpragma\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#confusing-naming\n - name: confusing-naming\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#confusing-results\n - name: confusing-results\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#constant-logical-expr\n - name: constant-logical-expr\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-as-argument\n - name: context-as-argument\n severity: warning\n disabled: false\n arguments:\n - allowTypesBefore: "*testing.T,*github.com/user/repo/testing.Harness"\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-keys-type\n - name: context-keys-type\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#cyclomatic\n - name: cyclomatic\n severity: warning\n disabled: false\n arguments: [ 3 ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#datarace\n - name: datarace\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#deep-exit\n - name: deep-exit\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#defer\n - name: defer\n severity: warning\n disabled: false\n arguments:\n - [ "call-chain", "loop" ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#dot-imports\n - name: dot-imports\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#duplicated-imports\n - name: duplicated-imports\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#early-return\n - name: early-return\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#empty-block\n - name: empty-block\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#empty-lines\n - name: empty-lines\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-naming\n - name: error-naming\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-return\n - name: error-return\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#error-strings\n - name: error-strings\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#errorf\n - name: errorf\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#exported\n - name: exported\n severity: warning\n disabled: false\n arguments:\n - "checkPrivateReceivers"\n - "sayRepetitiveInsteadOfStutters"\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#file-header\n - name: file-header\n severity: warning\n disabled: false\n arguments:\n - This is the text that must appear at the top of source files.\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#flag-parameter\n - name: flag-parameter\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#function-result-limit\n - name: function-result-limit\n severity: warning\n disabled: false\n arguments: [ 2 ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#function-length\n - name: function-length\n severity: warning\n disabled: false\n arguments: [ 10, 0 ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#get-return\n - name: get-return\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#identical-branches\n - name: identical-branches\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return\n - name: if-return\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#increment-decrement\n - name: increment-decrement\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#indent-error-flow\n - name: indent-error-flow\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#imports-blacklist\n - name: imports-blacklist\n severity: warning\n disabled: false\n arguments:\n - "crypto/md5"\n - "crypto/sha1"\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#import-shadowing\n - name: import-shadowing\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#line-length-limit\n - name: line-length-limit\n severity: warning\n disabled: false\n arguments: [ 80 ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#max-public-structs\n - name: max-public-structs\n severity: warning\n disabled: false\n arguments: [ 3 ]\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#modifies-parameter\n - name: modifies-parameter\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#modifies-value-receiver\n - name: modifies-value-receiver\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#nested-structs\n - name: nested-structs\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#optimize-operands-order\n - name: optimize-operands-order\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#package-comments\n - name: package-comments\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range\n - name: range\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range-val-in-closure\n - name: range-val-in-closure\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#range-val-address\n - name: range-val-address\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#receiver-naming\n - name: receiver-naming\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#redefines-builtin-id\n - name: redefines-builtin-id\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#string-of-int\n - name: string-of-int\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#string-format\n - name: string-format\n severity: warning\n disabled: false\n arguments:\n - - 'core.WriteError[1].Message'\n - '/^([^A-Z]|$)/'\n - must not start with a capital letter\n - - 'fmt.Errorf[0]'\n - '/(^|[^\.!?])$/'\n - must not end in punctuation\n - - panic\n - '/^[^\n]*$/'\n - must not contain line breaks\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#struct-tag\n - name: struct-tag\n arguments:\n - "json,inline"\n - "bson,outline,gnu"\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#superfluous-else\n - name: superfluous-else\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#time-equal\n - name: time-equal\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#time-naming\n - name: time-naming\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-naming\n - name: var-naming\n severity: warning\n disabled: false\n arguments:\n - [ "ID" ] # AllowList\n - [ "VM" ] # DenyList\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-declaration\n - name: var-declaration\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unconditional-recursion\n - name: unconditional-recursion\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-naming\n - name: unexported-naming\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-return\n - name: unexported-return\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unhandled-error\n - name: unhandled-error\n severity: warning\n disabled: false\n arguments:\n - "fmt.Printf"\n - "myFunction"\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unnecessary-stmt\n - name: unnecessary-stmt\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unreachable-code\n - name: unreachable-code\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter\n - name: unused-parameter\n severity: warning\n disabled: false\n - name: unused-receiver\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#useless-break\n - name: useless-break\n severity: warning\n disabled: false\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#waitgroup-by-value\n - name: waitgroup-by-value\n severity: warning\n disabled: false\n gofmt:\n # https://golangci-lint.run/usage/linters/#gofmt\n # disable for faster check\n simplify: false\n rewrite-rules:\n - pattern: 'interface{}'\n replacement: 'any'\nissues:\n exclude-rules:\n - path: _test\.go\n linters:\n - errcheck\n - gosec\n - rowserrcheck\n - makezero\n
dataset_sample\yaml\pingcap_tidb\.golangci.yml
.golangci.yml
YAML
15,184
0.95
0.019608
0.211443
node-utils
891
2024-03-20T06:10:43.655895
MIT
false
21370898fed89f05922b2202e1907b05
version: 2\nupdates:\n - package-ecosystem: "gomod"\n directory: "/"\n schedule:\n interval: "daily"\n time: "15:00"\n timezone: "Asia/Shanghai"\n allow:\n - dependency-name: "golang.org/*"\n - dependency-name: "github.com/golangci/golangci-lint"\n - dependency-name: "github.com/mgechev/revive"\n - dependency-name: "github.com/prometheus/*"\n - dependency-name: "go.uber.org/*"\n - dependency-name: "github.com/grafana/pyroscope-go"\n open-pull-requests-limit: 2\n - package-ecosystem: "gomod"\n directory: "/parser"\n schedule:\n interval: "weekly"\n
dataset_sample\yaml\pingcap_tidb\.github\dependabot.yml
dependabot.yml
YAML
603
0.8
0
0
awesome-app
891
2024-08-17T07:34:01.721249
MIT
false
641c11964101f60ea7de3873b4423a01
header:\n license:\n spdx-id: Apache-2.0\n copyright-owner: PingCAP, Inc.\n paths-ignore:\n - "docs/"\n - "br/"\n - ".gitignore"\n - ".gitmodules"\n - ".dockerignore"\n - ".gitattributes"\n - ".cilinter.yaml"\n - ".golangci.yml"\n - ".golangci_br.yml"\n - "LICENSES/"\n - "**/BUILD.bazel"\n - "WORKSPACE"\n - "WORKSPACE.patchgo"\n - "MODULE.bazel"\n - "MODULE.bazel.lock"\n - ".bazelrc"\n - "**/*.key"\n - "**/*.md"\n - "**/*.json"\n - "**/*.toml"\n - "**/*.pem"\n - "**/*.crt"\n - "**/*.test"\n - "**/*.result"\n - "**/*.example"\n - "**/*.patch"\n - "**/*.bzl"\n - "**/.git/**"\n - ".codecov.yml"\n - "Jenkinsfile"\n - ".editorconfig"\n - "hooks/pre-commit"\n - "**/go.mod"\n - "**/go.sum"\n - "LICENSE"\n - ".github/"\n - "pkg/parser/"\n - "dumpling/"\n - "pkg/tidb-binlog/driver/example"\n - "pkg/tidb-binlog/proto/go-binlog/secondary_binlog.pb.go"\n - "**/*.sql"\n - "**/*.csv"\n - "**/*.CSV"\n - "**/*.parquet"\n - "**/*.zst"\n - ".bazelversion"\n - "build/image/.ci_bazel"\n - "**/OWNERS"\n - "OWNERS_ALIASES"\n - "pkg/**/mock/**/*_mock.go"\n - "pkg/extension/enterprise/"\n - "lightning/pkg/web/res_vfsdata.go"\n - "lightning/web/docs/api.yaml"\n - "lightning/web/public/index.html"\n - "lightning/web/webpack.config.js"\n - "pkg/lightning/checkpoints/checkpointspb/file_checkpoints.pb.go"\n - "pkg/lightning/manual/manual.go"\n - "pkg/lightning/manual/manual_nocgo.go"\n - "pkg/lightning/mydump/bytes.go"\n - "pkg/lightning/mydump/examples/metadata"\n - "tests/_utils/config/"\n - "**/tidb-slow.log"\n - "**/tidb-slow-*.log"\n - "**/metadata"\n - "pkg/extension/_import/generated-enterprise.go"\n\n comment: on-failure\n
dataset_sample\yaml\pingcap_tidb\.github\licenserc.yml
licenserc.yml
YAML
1,761
0.95
0
0
react-lib
49
2024-02-03T23:10:41.447902
Apache-2.0
false
1330d87c7614820ccfabeee296ac244d
blank_issues_enabled: false\ncontact_links:\n - name: TiDB Forum\n url: https://ask.pingcap.com/\n about: Ask a question on the TiDB Forum\n - name: TiDB Forum(Chinese)\n url: https://asktug.com/\n about: Ask a question on the TiDB user group (Chinese)\n
dataset_sample\yaml\pingcap_tidb\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
260
0.8
0
0
node-utils
281
2023-12-19T03:27:04.432010
BSD-3-Clause
false
c176a67338e4e15b1ab934f0b332fb90
linters-settings:\n gocyclo:\n min-complexity: 40\n\nissues:\n # Excluding configuration per-path, per-linter, per-text and per-source\n exclude-rules:\n # TODO Remove it.\n - path: split_client.go\n text: "SA1019:"\n linters:\n - staticcheck\n
dataset_sample\yaml\pingcap_tidb\br\.golangci.yml
.golangci.yml
YAML
261
0.8
0
0.181818
node-utils
328
2023-09-28T20:59:28.032524
BSD-3-Clause
false
ad80a201578c5576c7b82111539b7ece
groups:\n- name: alert.rules\n rules:\n - alert: Lightning_import_failure_tables_count\n expr: sum ( lightning_tables{result="failure"} ) > 0\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: emergency\n expr: sum ( lightning_tables{result="failure"} ) > 0\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: Lightning failed to import a table\n
dataset_sample\yaml\pingcap_tidb\br\metrics\alertmanager\lightning.rules.yml
lightning.rules.yml
YAML
471
0.85
0.071429
0
python-kit
61
2024-03-06T19:13:47.014947
GPL-3.0
false
4c277d7c2465d402ed0dfe7a911d58f1
# Copyright 2021 PingCAP, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the "License");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an "AS IS" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\ngroups:\n- name: alert.rules\n rules:\n - alert: TiDB_schema_error\n expr: increase(tidb_session_schema_lease_error_total{type="outdated"}[15m]) > 0\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: emergency\n expr: increase(tidb_session_schema_lease_error_total{type="outdated"}[15m]) > 0\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB schema error\n\n - alert: TiDB_tikvclient_region_err_total\n expr: increase( tidb_tikvclient_region_err_total[10m] ) > 6000\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: emergency\n expr: increase( tidb_tikvclient_region_err_total[10m] ) > 6000\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB tikvclient_backoff_count error\n\n - alert: TiDB_binlog_error_total\n expr: increase( tidb_server_critical_error_total[5m] ) > 0\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: emergency\n expr: increase( tidb_server_critical_error_total[5m] ) > 0\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB tidb binlog error total\n\n - alert: TiDB_domain_load_schema_total\n expr: increase( tidb_domain_load_schema_total{type="failed"}[10m] ) > 10\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: emergency\n expr: increase( tidb_domain_load_schema_total{type="failed"}[10m] ) > 10\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB domain_load_schema_total error\n\n - alert: TiDB_monitor_keep_alive\n expr: increase(tidb_monitor_keep_alive_total{job="tidb"}[10m]) < 100\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: emergency\n expr: increase(tidb_monitor_keep_alive_total{job="tidb"}[10m]) < 100\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB monitor_keep_alive error\n\n - alert: TiDB_server_panic_total\n expr: increase(tidb_server_panic_total[10m]) > 0\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: critical\n expr: increase(tidb_server_panic_total[10m]) > 0\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB server panic total\n\n - alert: TiDB_memory_abnormal\n expr: go_memstats_heap_inuse_bytes{job="tidb"} > 1e+10\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: go_memstats_heap_inuse_bytes{job="tidb"} > 1e+10\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB heap memory usage is over 10 GB\n\n - alert: TiDB_query_duration\n expr: histogram_quantile(0.99, sum(rate(tidb_server_handle_query_duration_seconds_bucket[1m])) BY (le, instance)) > 1\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: histogram_quantile(0.99, sum(rate(tidb_server_handle_query_duration_seconds_bucket[1m])) BY (le, instance)) > 1\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB query duration 99th percentile is above 1s\n\n - alert: TiDB_server_event_error\n expr: increase(tidb_server_event_total{type=~"server_start|server_hang"}[15m]) > 0\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: increase(tidb_server_event_total{type=~"server_start|server_hang"}[15m]) > 0\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB server event error\n\n - alert: tidb_tikvclient_backoff_seconds_count\n expr: increase( tidb_tikvclient_backoff_seconds_count[10m] ) > 10\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: increase( tidb_tikvclient_backoff_seconds_count[10m] ) > 10\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB tikvclient_backoff_count error\n\n - alert: TiDB_monitor_time_jump_back_error\n expr: increase(tidb_monitor_time_jump_back_total[10m]) > 0\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: increase(tidb_monitor_time_jump_back_total[10m]) > 0\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB monitor time_jump_back error\n\n - alert: TiDB_ddl_waiting_jobs\n expr: sum(tidb_ddl_waiting_jobs) > 5\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: sum(tidb_ddl_waiting_jobs) > 5\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB ddl waiting_jobs too much\n\n - alert: TiDB_node_restart\n expr: changes(process_start_time_seconds{job="tidb"}[5m]) > 0\n for: 1m\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: changes(process_start_time_seconds{job="tidb"}[5m]) > 0\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB server has been restarted\n\n - alert: TiDB_cpu_quota\n expr: irate(process_cpu_seconds_total{job="tidb"}[30s]) / tidb_server_maxprocs > 0.8\n for: 45s\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: irate(process_cpu_seconds_total{job="tidb"}[30s]) / tidb_server_maxprocs > 0.8\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB CPU usage is over 80% of CPU quota\n\n - alert: TiDB_memory_quota\n expr: process_resident_memory_bytes{job="tidb"} / tidb_server_memory_quota_bytes > 0.8\n for: 15s\n labels:\n env: ENV_LABELS_ENV\n level: warning\n expr: process_resident_memory_bytes{job="tidb"} / tidb_server_memory_quota_bytes > 0.8\n annotations:\n description: 'cluster: ENV_LABELS_ENV, instance: {{ $labels.instance }}, values:{{ $value }}'\n value: '{{ $value }}'\n summary: TiDB memory usage is over 80% of memory quota\n
dataset_sample\yaml\pingcap_tidb\pkg\metrics\alertmanager\tidb.rules.yml
tidb.rules.yml
YAML
7,400
0.95
0.081633
0.071823
python-kit
783
2024-03-28T00:20:46.064283
Apache-2.0
false
39a066bb419fc1e3221bc2ef9e0ad829
commit_message: '[ci skip]'\nfiles:\n - source: /resources/lang/en/web.php\n translation: /resources/lang/%two_letters_code%/web.php\n
dataset_sample\yaml\pixelfed_pixelfed\crowdin.yml
crowdin.yml
YAML
134
0.7
0
0
python-kit
123
2024-02-11T15:55:04.113812
MIT
false
cdaa655e5273465e287e560076064513
---\nservices:\n migrate:\n image: "servercontainers/rsync"\n entrypoint: ""\n working_dir: /migrate\n command: 'bash -c "exit 1"'\n restart: never\n volumes:\n ################################\n # Storage volume\n ################################\n # OLD\n - "app-storage:/migrate/app-storage/old"\n # NEW\n - "${DOCKER_APP_HOST_STORAGE_PATH}:/migrate/app-storage/new"\n\n ################################\n # MySQL/DB volume\n ################################\n # OLD\n - "db-data:/migrate/db-data/old"\n # NEW\n - "${DOCKER_DB_HOST_DATA_PATH}:/migrate/db-data/new"\n\n ################################\n # Redis volume\n ################################\n # OLD\n - "redis-data:/migrate/redis-data/old"\n # NEW\n - "${DOCKER_REDIS_HOST_DATA_PATH}:/migrate/redis-data/new"\n\n# Volumes from the old [docker-compose.yml] file\n# https://github.com/pixelfed/pixelfed/blob/b1ff44ca2f75c088a11576fb03b5bad2fbed4d5c/docker-compose.yml#L72-L76\nvolumes:\n db-data:\n redis-data:\n app-storage:\n app-bootstrap:\n
dataset_sample\yaml\pixelfed_pixelfed\docker-compose.migrate.yml
docker-compose.migrate.yml
YAML
1,096
0.8
0
0.459459
react-lib
267
2025-02-06T08:53:32.013455
BSD-3-Clause
false
7919eff51aaeda19d2ac94dbbc2a975c
---\n###############################################################\n# Please see docker/README.md for usage information\n###############################################################\n\nservices:\n # HTTP/HTTPS proxy\n #\n # Sits in front of the *real* webserver and manages SSL and (optionally)\n # load-balancing between multiple web servers\n #\n # You can disable this service by setting [DOCKER_PROXY_PROFILE="disabled"]\n # in your [.env] file - the setting is near the bottom of the file.\n #\n # This also disables the [proxy-acme] service, if this is not desired, change the\n # [DOCKER_PROXY_ACME_PROFILE] setting to an empty string [""]\n #\n # See: https://github.com/nginx-proxy/nginx-proxy/tree/main/docs\n proxy:\n image: "nginxproxy/nginx-proxy:${DOCKER_PROXY_VERSION}"\n container_name: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-proxy"\n restart: unless-stopped\n profiles:\n - ${DOCKER_PROXY_PROFILE:-}\n environment:\n DOCKER_SERVICE_NAME: "proxy"\n volumes:\n - "${DOCKER_PROXY_HOST_DOCKER_SOCKET_PATH}:/tmp/docker.sock:ro"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/conf.d:/etc/nginx/conf.d"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/vhost.d:/etc/nginx/vhost.d"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/certs:/etc/nginx/certs"\n - "${DOCKER_ALL_HOST_DATA_ROOT_PATH}/proxy/html:/usr/share/nginx/html"\n ports:\n - "${DOCKER_PROXY_HOST_PORT_HTTP}:80"\n - "${DOCKER_PROXY_HOST_PORT_HTTPS}:443"\n healthcheck:\n test: "curl --fail https://${APP_DOMAIN}/api/service/health-check"\n interval: "${DOCKER_PROXY_HEALTHCHECK_INTERVAL}"\n retries: 2\n timeout: 5s\n\n # Proxy companion for managing letsencrypt SSL certificates\n #\n # You can disable this service by setting [DOCKER_PROXY_ACME_PROFILE="disabled"]\n # in your [.env] file - the setting is near the bottom of the file.\n #\n # See: https://github.com/nginx-proxy/acme-companion/tree/main/docs\n proxy-acme:\n image: nginxproxy/acme-companion\n container_name: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-proxy-acme"\n restart: unless-stopped\n profiles:\n - ${DOCKER_PROXY_ACME_PROFILE:-}\n environment:\n DEBUG: 0\n DEFAULT_EMAIL: "${DOCKER_PROXY_LETSENCRYPT_EMAIL:?error}"\n NGINX_PROXY_CONTAINER: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-proxy"\n depends_on:\n - proxy\n volumes:\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy-acme:/etc/acme.sh"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/certs:/etc/nginx/certs"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/conf.d:/etc/nginx/conf.d"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/vhost.d:/etc/nginx/vhost.d"\n - "${DOCKER_ALL_HOST_DATA_ROOT_PATH}/proxy/html:/usr/share/nginx/html"\n - "${DOCKER_PROXY_HOST_DOCKER_SOCKET_PATH}:/var/run/docker.sock:ro"\n\n web:\n image: "${DOCKER_APP_IMAGE}:${DOCKER_APP_TAG}"\n container_name: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-web"\n restart: unless-stopped\n profiles:\n - ${DOCKER_WEB_PROFILE:-}\n build:\n target: ${DOCKER_APP_RUNTIME}-runtime\n cache_from:\n - "type=registry,ref=${DOCKER_APP_IMAGE}-cache:${DOCKER_APP_TAG}"\n args:\n APT_PACKAGES_EXTRA: "${DOCKER_APP_APT_PACKAGES_EXTRA:-}"\n BUILD_FRONTEND: "${DOCKER_APP_BUILD_FRONTEND:-0}"\n PHP_BASE_TYPE: "${DOCKER_APP_BASE_TYPE}"\n PHP_DEBIAN_RELEASE: "${DOCKER_APP_DEBIAN_RELEASE}"\n PHP_EXTENSIONS_EXTRA: "${DOCKER_APP_PHP_EXTENSIONS_EXTRA:-}"\n PHP_PECL_EXTENSIONS_EXTRA: "${DOCKER_APP_PHP_PECL_EXTENSIONS_EXTRA:-}"\n PHP_VERSION: "${DOCKER_APP_PHP_VERSION:?error}"\n environment:\n # Used by Pixelfed Docker init script\n DOCKER_SERVICE_NAME: "web"\n DOCKER_APP_ENTRYPOINT_DEBUG: ${DOCKER_APP_ENTRYPOINT_DEBUG:-0}\n ENTRYPOINT_SKIP_SCRIPTS: ${ENTRYPOINT_SKIP_SCRIPTS:-}\n # Used by [proxy] service\n LETSENCRYPT_HOST: "${DOCKER_PROXY_LETSENCRYPT_HOST:?error}"\n LETSENCRYPT_EMAIL: "${DOCKER_PROXY_LETSENCRYPT_EMAIL:?error}"\n LETSENCRYPT_TEST: "${DOCKER_PROXY_LETSENCRYPT_TEST:-}"\n VIRTUAL_HOST: "${APP_DOMAIN}"\n VIRTUAL_PORT: "80"\n volumes:\n - "./.env:/var/www/.env"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/conf.d:/shared/proxy/conf.d"\n - "${DOCKER_APP_HOST_CACHE_PATH}:/var/www/bootstrap/cache"\n - "${DOCKER_APP_HOST_OVERRIDES_PATH}:/docker/overrides:ro"\n - "${DOCKER_APP_HOST_STORAGE_PATH}:/var/www/storage"\n labels:\n com.github.nginx-proxy.nginx-proxy.keepalive: 30\n com.github.nginx-proxy.nginx-proxy.http2.enable: true\n com.github.nginx-proxy.nginx-proxy.http3.enable: true\n ports:\n - "${DOCKER_WEB_PORT_EXTERNAL_HTTP}:80"\n depends_on:\n - db\n - redis\n healthcheck:\n test: 'curl --header "Host: ${APP_DOMAIN}" --fail http://localhost/api/service/health-check'\n interval: "${DOCKER_WEB_HEALTHCHECK_INTERVAL}"\n retries: 2\n timeout: 5s\n\n worker:\n image: "${DOCKER_APP_IMAGE}:${DOCKER_APP_TAG}"\n container_name: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-worker"\n command: gosu www-data php artisan horizon\n restart: unless-stopped\n stop_signal: SIGTERM\n profiles:\n - ${DOCKER_WORKER_PROFILE:-}\n build:\n target: ${DOCKER_APP_RUNTIME}-runtime\n cache_from:\n - "type=registry,ref=${DOCKER_APP_IMAGE}-cache:${DOCKER_APP_TAG}"\n args:\n APT_PACKAGES_EXTRA: "${DOCKER_APP_APT_PACKAGES_EXTRA:-}"\n BUILD_FRONTEND: "${DOCKER_APP_BUILD_FRONTEND:-0}"\n PHP_BASE_TYPE: "${DOCKER_APP_BASE_TYPE}"\n PHP_DEBIAN_RELEASE: "${DOCKER_APP_DEBIAN_RELEASE}"\n PHP_EXTENSIONS_EXTRA: "${DOCKER_APP_PHP_EXTENSIONS_EXTRA:-}"\n PHP_PECL_EXTENSIONS_EXTRA: "${DOCKER_APP_PHP_PECL_EXTENSIONS_EXTRA:-}"\n PHP_VERSION: "${DOCKER_APP_PHP_VERSION:?error}"\n environment:\n # Used by Pixelfed Docker init script\n DOCKER_SERVICE_NAME: "worker"\n DOCKER_APP_ENTRYPOINT_DEBUG: ${DOCKER_APP_ENTRYPOINT_DEBUG:-0}\n ENTRYPOINT_SKIP_SCRIPTS: ${ENTRYPOINT_SKIP_SCRIPTS:-}\n volumes:\n - "./.env:/var/www/.env"\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/proxy/conf.d:/shared/proxy/conf.d"\n - "${DOCKER_APP_HOST_CACHE_PATH}:/var/www/bootstrap/cache"\n - "${DOCKER_APP_HOST_OVERRIDES_PATH}:/docker/overrides:ro"\n - "${DOCKER_APP_HOST_STORAGE_PATH}:/var/www/storage"\n depends_on:\n - db\n - redis\n healthcheck:\n test: gosu www-data php artisan horizon:status | grep running\n interval: "${DOCKER_WORKER_HEALTHCHECK_INTERVAL:?error}"\n timeout: 5s\n retries: 2\n\n db:\n image: ${DOCKER_DB_IMAGE:?error}\n container_name: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-db"\n command: ${DOCKER_DB_COMMAND:-}\n restart: unless-stopped\n profiles:\n - ${DOCKER_DB_PROFILE:-}\n environment:\n TZ: "${TZ:?error}"\n # MySQL (Oracle) - "Environment Variables" at https://hub.docker.com/_/mysql\n MYSQL_ROOT_PASSWORD: "${DOCKER_DB_ROOT_PASSWORD:?error}"\n MYSQL_USER: "${DB_USERNAME:?error}"\n MYSQL_PASSWORD: "${DB_PASSWORD:?error}"\n MYSQL_DATABASE: "${DB_DATABASE:?error}"\n # MySQL (MariaDB) - "Start a mariadb server instance with user, password and database" at https://hub.docker.com/_/mariadb\n MARIADB_ROOT_PASSWORD: "${DOCKER_DB_ROOT_PASSWORD:?error}"\n MARIADB_USER: "${DB_USERNAME:?error}"\n MARIADB_PASSWORD: "${DB_PASSWORD:?error}"\n MARIADB_DATABASE: "${DB_DATABASE:?error}"\n # PostgreSQL - "Environment Variables" at https://hub.docker.com/_/postgres\n POSTGRES_USER: "${DB_USERNAME:?error}"\n POSTGRES_PASSWORD: "${DB_PASSWORD:?error}"\n POSTGRES_DB: "${DB_DATABASE:?error}"\n volumes:\n - "${DOCKER_DB_HOST_DATA_PATH:?error}:${DOCKER_DB_CONTAINER_DATA_PATH:?error}"\n ports:\n - "${DOCKER_DB_HOST_PORT:?error}:${DOCKER_DB_CONTAINER_PORT:?error}"\n healthcheck:\n test:\n [\n "CMD",\n "healthcheck.sh",\n "--su-mysql",\n "--connect",\n "--innodb_initialized",\n ]\n interval: "${DOCKER_DB_HEALTHCHECK_INTERVAL:?error}"\n retries: 2\n timeout: 5s\n\n redis:\n image: redis:${DOCKER_REDIS_VERSION}\n container_name: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-redis"\n restart: unless-stopped\n command: "${DOCKER_REDIS_CONFIG_FILE:-} --requirepass '${REDIS_PASSWORD:-}'"\n profiles:\n - ${DOCKER_REDIS_PROFILE:-}\n environment:\n TZ: "${TZ:?error}"\n REDISCLI_AUTH: ${REDIS_PASSWORD:-}\n volumes:\n - "${DOCKER_ALL_HOST_CONFIG_ROOT_PATH}/redis:/etc/redis"\n - "${DOCKER_REDIS_HOST_DATA_PATH}:/data"\n ports:\n - "${DOCKER_REDIS_HOST_PORT}:6379"\n healthcheck:\n test: ["CMD", "redis-cli", "-p", "6379", "ping"]\n interval: "${DOCKER_REDIS_HEALTHCHECK_INTERVAL:?error}"\n retries: 2\n timeout: 5s\n
dataset_sample\yaml\pixelfed_pixelfed\docker-compose.yml
docker-compose.yml
YAML
8,786
0.95
0.013825
0.127962
awesome-app
998
2023-12-14T01:08:39.255764
BSD-3-Clause
false
07f5ab45d4e73bd97d11711dad7f7283
version: "2"\nrun:\n go: 1.23\n concurrency: 4\n timeout: 10m\nlinters:\n default: none\n enable:\n - asasalint\n - asciicheck\n - gomodguard\n - goprintffuncname\n - govet\n - ineffassign\n - misspell\n - nakedret\n - nolintlint\n - prealloc\n - reassign\n - staticcheck\n - unconvert\n - unused\n - whitespace\nformatters:\n enable:\n - gofmt\n - goimports\n
dataset_sample\yaml\pocketbase_pocketbase\golangci.yml
golangci.yml
YAML
390
0.85
0
0
node-utils
612
2025-06-10T00:46:37.089521
BSD-3-Clause
false
4349bc21a5c26f86c6f1a1aec71c4571
# https://www.mkdocs.org/user-guide/configuration/\n\n# Project information\nsite_name: Polars user guide\nsite_url: https://docs.pola.rs/\nrepo_url: https://github.com/pola-rs/polars\nrepo_name: pola-rs/polars\n\ndocs_dir: docs/source\n\n# Documentation layout\nnav:\n - Polars:\n - User guide:\n - index.md\n - user-guide/getting-started.md\n - user-guide/installation.md\n - Concepts:\n - user-guide/concepts/index.md\n - user-guide/concepts/data-types-and-structures.md\n - user-guide/concepts/expressions-and-contexts.md\n - user-guide/concepts/lazy-api.md\n - Expressions:\n - user-guide/expressions/index.md\n - user-guide/expressions/basic-operations.md\n - user-guide/expressions/expression-expansion.md\n - user-guide/expressions/casting.md\n - user-guide/expressions/strings.md\n - user-guide/expressions/lists-and-arrays.md\n - user-guide/expressions/categorical-data-and-enums.md\n - user-guide/expressions/structs.md\n - user-guide/expressions/missing-data.md\n - user-guide/expressions/aggregation.md\n - user-guide/expressions/window-functions.md\n - user-guide/expressions/folds.md\n - user-guide/expressions/user-defined-python-functions.md\n - user-guide/expressions/numpy-functions.md\n - Transformations:\n - user-guide/transformations/index.md\n - user-guide/transformations/joins.md\n - user-guide/transformations/concatenation.md\n - user-guide/transformations/pivot.md\n - user-guide/transformations/unpivot.md\n - Time series:\n - user-guide/transformations/time-series/parsing.md\n - user-guide/transformations/time-series/filter.md\n - user-guide/transformations/time-series/rolling.md\n - user-guide/transformations/time-series/resampling.md\n - user-guide/transformations/time-series/timezones.md\n - Lazy API:\n - user-guide/lazy/index.md\n - user-guide/lazy/using.md\n - user-guide/lazy/optimizations.md\n - user-guide/lazy/schemas.md\n - user-guide/lazy/query-plan.md\n - user-guide/lazy/execution.md\n - user-guide/lazy/sources_sinks.md\n - user-guide/lazy/gpu.md\n - IO:\n - user-guide/io/index.md\n - user-guide/io/csv.md\n - user-guide/io/excel.md\n - user-guide/io/parquet.md\n - user-guide/io/json.md\n - user-guide/io/multiple.md\n - user-guide/io/hive.md\n - user-guide/io/database.md\n - user-guide/io/cloud-storage.md\n - user-guide/io/bigquery.md\n - user-guide/io/hugging-face.md\n - user-guide/io/sheets_colab.md\n - Plugins:\n - user-guide/plugins/index.md\n - user-guide/plugins/expr_plugins.md\n - user-guide/plugins/io_plugins.md\n - SQL:\n - user-guide/sql/intro.md\n - user-guide/sql/show.md\n - user-guide/sql/select.md\n - user-guide/sql/create.md\n - user-guide/sql/cte.md\n - Migrating:\n - user-guide/migration/pandas.md\n - user-guide/migration/spark.md\n - user-guide/ecosystem.md\n - Misc:\n - user-guide/misc/multiprocessing.md\n - user-guide/misc/visualization.md\n - user-guide/misc/styling.md\n - user-guide/misc/comparison.md\n - user-guide/misc/arrow.md\n - user-guide/misc/polars_llms.md\n - user-guide/gpu-support.md\n - API:\n - api/reference.md\n - Development:\n - Contributing:\n - development/contributing/index.md\n - development/contributing/ide.md\n - development/contributing/test.md\n - development/contributing/ci.md\n - development/contributing/code-style.md\n - development/versioning.md\n - Releases:\n - releases/changelog.md\n - Upgrade guides:\n - releases/upgrade/index.md\n - releases/upgrade/1.md\n - releases/upgrade/0.20.md\n - releases/upgrade/0.19.md\n - Polars Cloud:\n - polars-cloud/index.md\n - polars-cloud/quickstart.md\n - polars-cloud/connect-cloud.md\n - User guide:\n - polars-cloud/run/compute-context.md\n - polars-cloud/run/workflow.md\n - polars-cloud/run/interactive-batch.md\n - polars-cloud/run/distributed-engine.md\n - polars-cloud/run/service-accounts.md\n - Manage workspace:\n - polars-cloud/workspace/settings.md\n - polars-cloud/workspace/team.md\n - Authentication:\n - polars-cloud/explain/authentication.md\n - Providers:\n - AWS:\n - polars-cloud/providers/aws/infra.md\n - polars-cloud/providers/aws/permissions.md\n # - Integrations:\n # - polars-cloud/integrations/airflow.md\n - Misc:\n - polars-cloud/cli.md\n - polars-cloud/faq.md\n - API Reference: https://docs.cloud.pola.rs\n - polars-cloud/release-notes.md\nnot_in_nav: |\n /_build/\nvalidation:\n links:\n # Allow an absolute link to the features page for our code snippets\n absolute_links: ignore\n\n# Build directories\ntheme:\n name: material\n locale: en\n custom_dir: docs/source/_build/overrides\n palette:\n # Palette toggle for light mode\n - media: "(prefers-color-scheme: light)"\n scheme: default\n primary: custom\n toggle:\n icon: material/brightness-7\n name: Switch to dark mode\n # Palette toggle for dark mode\n - media: "(prefers-color-scheme: dark)"\n scheme: slate\n primary: custom\n toggle:\n icon: material/brightness-4\n name: Switch to light mode\n logo: _build/assets/logo.png\n features:\n - navigation.tracking\n - navigation.sections\n - navigation.instant\n - navigation.tabs\n - navigation.tabs.sticky\n - navigation.footer\n - navigation.indexes\n - content.tabs.link\n - content.code.copy\n icon:\n repo: fontawesome/brands/github\n\nextra_javascript:\n - _build/js/mathjax.js\n - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js\nextra_css:\n - _build/css/extra.css\nextra:\n analytics:\n provider: plausible\n domain: guide.pola.rs,combined.pola.rs\n\n# Preview controls\nstrict: true\n\n# Formatting options\nmarkdown_extensions:\n - admonition\n - md_in_html\n - pymdownx.details\n - attr_list\n - pymdownx.emoji:\n emoji_index: !!python/name:material.extensions.emoji.twemoji\n emoji_generator: !!python/name:material.extensions.emoji.to_svg\n - pymdownx.superfences\n - pymdownx.tabbed:\n alternate_style: true\n - pymdownx.snippets:\n base_path: [".", "docs/source/src/"]\n check_paths: true\n dedent_subsections: true\n - footnotes\n - pymdownx.arithmatex:\n generic: true\n\nhooks:\n - docs/source/_build/scripts/people.py\n\nplugins:\n - search:\n lang: en\n - markdown-exec\n - material-plausible\n - macros:\n module_name: docs/source/_build/scripts/macro\n - redirects:\n redirect_maps:\n "user-guide/index.md": "index.md"\n "user-guide/basics/index.md": "user-guide/getting-started.md"\n "user-guide/basics/reading-writing.md": "user-guide/getting-started.md"\n "user-guide/basics/expressions.md": "user-guide/getting-started.md"\n "user-guide/basics/joins.md": "user-guide/getting-started.md"\n
dataset_sample\yaml\pola-rs_polars\mkdocs.yml
mkdocs.yml
YAML
8,909
0.95
0.013216
0.050459
awesome-app
238
2024-07-20T17:12:24.958133
Apache-2.0
false
4d9460d30e965a88ff1cacac726234a5
name: tests\non:\n push:\n workflow_dispatch:\njobs:\n tests:\n runs-on: buildjet-4vcpu-ubuntu-2204\n defaults:\n run:\n working-directory: pgml-extension\n steps:\n - uses: actions/checkout@v4\n - name: Fetch master\n run: |\n git fetch origin master --depth 1\n - name: Changed files in pgml-extension\n id: pgml_extension_changed\n run: |\n echo "PGML_EXTENSION_CHANGED_FILES=$(git diff --name-only HEAD origin/master . | wc -l)" >> $GITHUB_OUTPUT\n - name: System dependencies\n if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'\n run: |\n sudo apt-get update && \\n DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get install -y \\n curl \\n build-essential \\n libopenblas-dev \\n clang \\n python3-dev \\n libpython3-dev \\n postgresql \\n postgresql-server-dev-14 \\n pkg-config \\n python3-pip \\n python3 \\n lld\n sudo pip3 install -r requirements.linux.txt --no-cache-dir\n - name: Cache dependencies\n uses: buildjet/cache@v3\n if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'\n with:\n path: |\n ~/.cargo\n pgml-extension/target\n ~/.pgrx\n key: ${{ runner.os }}-rust-1.74-${{ hashFiles('pgml-extension/Cargo.lock') }}-bust3\n - name: Install pgrx\n if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'\n run: |\n curl https://sh.rustup.rs -sSf | sh -s -- -y\n source ~/.cargo/env\n cargo install cargo-pgrx --version "0.12.9" --locked\n\n if [[ ! -d ~/.pgrx ]]; then\n cargo pgrx init\n echo "shared_preload_libraries = 'pgml'" >> ~/.pgrx/data-17/postgresql.conf\n fi\n - name: Update extension test\n if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'\n run: |\n git checkout origin/master\n echo "\q" | cargo pgrx run\n psql -p 28817 -h localhost -d pgml -P pager -c "DROP EXTENSION IF EXISTS pgml CASCADE; DROP SCHEMA IF EXISTS pgml CASCADE; CREATE EXTENSION pgml;"\n git checkout $GITHUB_SHA\n echo "\q" | cargo pgrx run\n psql -p 28817 -h localhost -d pgml -P pager -c "ALTER EXTENSION pgml UPDATE;"\n - name: Unit tests\n if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'\n run: |\n cargo pgrx test\n - name: Integration tests\n if: steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'\n run: |\n echo "\q" | cargo pgrx run\n psql -p 28817 -h 127.0.0.1 -d pgml -P pager -f tests/test.sql\n
dataset_sample\yaml\postgresml_postgresml\.github\workflows\ci.yml
ci.yml
YAML
2,873
0.95
0.093333
0
react-lib
609
2023-07-17T10:46:20.779951
Apache-2.0
false
e91687c9e96f4861d0b59b6e5e35bebf
name: deploy javascript sdk\non:\n workflow_dispatch:\njobs:\n build-javascript-sdk-macos-windows:\n strategy:\n matrix:\n os:\n [\n "macos-latest",\n "windows-latest",\n ]\n include:\n - neon-out-name: "x86_64-unknown-linux-gnu-index.node"\n os: "ubuntu-22.04"\n - neon-out-name: "aarch64-unknown-linux-gnu-index.node"\n os: "buildjet-4vcpu-ubuntu-2204-arm"\n - neon-out-name: "x86_64-apple-darwin-index.node"\n os: "macos-latest"\n - neon-out-name: "x86_64-pc-windows-gnu-index.node"\n os: "windows-latest"\n runs-on: ${{ matrix.os }}\n defaults:\n run:\n working-directory: pgml-sdks/pgml/javascript\n steps:\n - uses: actions/checkout@v3\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Validate cargo is working\n uses: postgresml/gh-actions-cargo@master\n with:\n command: version\n - name: Do build\n env:\n TYPESCRIPT_DECLARATION_FILE: "javascript/index.d.ts"\n run: |\n npm i \n npm run build-release\n - name: Upload built .node file\n uses: actions/upload-artifact@v3\n with:\n name: node-artifacts\n path: pgml-sdks/pgml/javascript/dist/${{ matrix.neon-out-name }}\n retention-days: 1\n build-javascript-sdk-linux:\n strategy:\n matrix:\n os:\n [\n "ubuntu-22.04",\n "buildjet-4vcpu-ubuntu-2204-arm",\n ]\n include:\n - neon-out-name: "x86_64-unknown-linux-gnu-index.node"\n os: "ubuntu-22.04"\n - neon-out-name: "aarch64-unknown-linux-gnu-index.node"\n os: "buildjet-4vcpu-ubuntu-2204-arm"\n runs-on: ubuntu-latest\n container: quay.io/pypa/manylinux2014_x86_64\n defaults:\n run:\n working-directory: pgml-sdks/pgml/javascript\n steps:\n - uses: actions/checkout@v3\n - name: Install dependencies\n run: |\n yum install -y perl-IPC-Cmd\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Validate cargo is working\n uses: postgresml/gh-actions-cargo@master\n with:\n command: version\n - uses: actions/setup-node@v3\n with:\n node-version: 16\n - name: Do build\n env:\n TYPESCRIPT_DECLARATION_FILE: "javascript/index.d.ts"\n run: |\n npm i \n npm run build-release\n - name: Upload built .node file\n uses: actions/upload-artifact@v3\n with:\n name: node-artifacts\n path: pgml-sdks/pgml/javascript/dist/${{ matrix.neon-out-name }}\n retention-days: 1\n # publish-javascript-sdk:\n # needs: build-javascript-sdk\n # runs-on: "ubuntu-22.04"\n # defaults:\n # run:\n # working-directory: pgml-sdks/rust/pgml/javascript\n # steps:\n # - uses: actions/checkout@v3\n # - uses: actions-rs/toolchain@v1\n # with:\n # toolchain: stable\n # - name: Validate cargo is working\n # uses: postgresml/gh-actions-cargo@master\n # with:\n # command: version\n # - name: Create artifact directory\n # run: mkdir dist\n # - name: Download artifacts\n # uses: actions/download-artifact@v3\n # with:\n # name: node-artifacts\n # path: pgml-sdks/rust/pgml/javascript/dist\n # - uses: actions/setup-node@v3\n # with:\n # node-version: '20.x'\n # registry-url: 'https://registry.npmjs.org'\n # - name: Generate types declaration\n # run: |\n # npm i\n # npm run build\n # rm index.node\n # - run: npm ci\n # - run: npm publish\n # env:\n # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}\n
dataset_sample\yaml\postgresml_postgresml\.github\workflows\javascript-sdk.yml
javascript-sdk.yml
YAML
3,841
0.8
0
0.277778
node-utils
695
2024-01-19T11:04:55.795825
Apache-2.0
false
53d538bf44c6250331b16d3f306ee4d9
name: deploy python sdk\non:\n workflow_dispatch:\n inputs:\n deploy_to_pypi:\n description: "Whether to deploy to PyPI (true) or TestPyPI (false)"\n required: false\n default: "false"\njobs:\n deploy-python-sdk-linux:\n strategy:\n matrix:\n os: ["ubuntu-20.04", "ubuntu-22.04", "buildjet-4vcpu-ubuntu-2204-arm"]\n runs-on: ${{ matrix.os }}\n defaults:\n run:\n working-directory: pgml-sdks/pgml\n steps:\n - uses: actions/checkout@v3\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Validate cargo is working\n uses: postgresml/gh-actions-cargo@master\n with:\n command: version\n - name: Install dependencies\n env:\n DEBIAN_FRONTEND: noninteractive\n TZ: Etc/UTC\n run: |\n sudo apt update\n sudo apt-get -y install software-properties-common\n sudo add-apt-repository -y ppa:deadsnakes/ppa\n sudo add-apt-repository -y ppa:apt-fast/stable\n sudo apt update\n sudo apt-get -y install apt-fast\n sudo apt-fast -y install \\n python3.7 python3.7-dev \\n python3.8 python3.8-dev \\n python3.9 python3.9-dev \\n python3.10 python3.10-dev \\n python3.11 python3.11-dev \\n python3.12 python3.12-dev \\n python3-pip \\n git\n pip install maturin\n pip install patchelf\n - name: Build and deploy wheels to TestPyPI\n if: github.event.inputs.deploy_to_pypi == 'false'\n env:\n MATURIN_PYPI_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}\n PYTHON_STUB_FILE: "python/pgml/pgml.pyi"\n run: maturin publish -r testpypi -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 --skip-existing -F python\n - name: Build and deploy wheels to PyPI\n if: github.event.inputs.deploy_to_pypi == 'true'\n env:\n MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n PYTHON_STUB_FILE: "python/pgml/pgml.pyi"\n run: maturin publish -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 --skip-existing -F python\n\n deploy-python-sdk-mac:\n runs-on: macos-latest\n defaults:\n run:\n working-directory: pgml-sdks/pgml\n steps:\n - uses: actions/checkout@v3\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Validate cargo is working\n uses: postgresml/gh-actions-cargo@master\n with:\n command: version\n - name: Install dependencies\n run: |\n # brew upgrade\n # brew update\n brew install python@3.8\n brew install python@3.9\n brew install python@3.10\n brew install python@3.11\n brew install python@3.12\n pip3 install maturin --break-system-packages\n - name: Build and deploy wheels to TestPyPI\n if: github.event.inputs.deploy_to_pypi == 'false'\n env:\n MATURIN_PYPI_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}\n PYTHON_STUB_FILE: "python/pgml/pgml.pyi"\n run: maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 --skip-existing -F python\n - name: Build and deploy wheels to PyPI\n if: github.event.inputs.deploy_to_pypi == 'true'\n env:\n MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n PYTHON_STUB_FILE: "python/pgml/pgml.pyi"\n run: maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 --skip-existing -F python\n\n deploy-python-sdk-windows:\n runs-on: windows-latest\n strategy:\n matrix:\n python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]\n defaults:\n run:\n working-directory: pgml-sdks\pgml\n steps:\n - uses: actions/checkout@v3\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Validate cargo is working\n uses: postgresml/gh-actions-cargo@master\n with:\n command: version\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v4\n with:\n python-version: ${{ matrix.python-version }}\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip\n pip3 install maturin\n - name: Build and deploy wheels to TestPyPI\n if: github.event.inputs.deploy_to_pypi == 'false'\n env:\n MATURIN_PYPI_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}\n PYTHON_STUB_FILE: "python/pgml/pgml.pyi"\n run: maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 --skip-existing -F python\n - name: Build and deploy wheels to PyPI\n if: github.event.inputs.deploy_to_pypi == 'true'\n env:\n MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}\n PYTHON_STUB_FILE: "python/pgml/pgml.pyi"\n run: maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 -i python3.12 --skip-existing -F python\n
dataset_sample\yaml\postgresml_postgresml\.github\workflows\python-sdk.yml
python-sdk.yml
YAML
5,125
0.95
0.044444
0.015038
python-kit
366
2024-01-18T03:47:04.754904
MIT
false
bc7caa21c4c81194cd38acde7824ab51
name: Ubuntu packages and Docker image\n\non:\n workflow_dispatch:\n inputs:\n packageVersion:\n default: "2.10.0"\njobs:\n #\n # PostgresML Python package.\n #\n postgresml-python:\n uses: ./.github/workflows/ubuntu-postgresml-python-package.yaml\n with:\n packageVersion: ${{ inputs.packageVersion }}\n secrets: inherit\n\n #\n # PostgresML extension.\n #\n postgresml-pgml:\n needs: postgresml-python\n strategy:\n fail-fast: false # Let the other job finish\n matrix:\n os: ["buildjet-4vcpu-ubuntu-2204", "buildjet-8vcpu-ubuntu-2204-arm"]\n ubuntu_version: ["20.04", "22.04", "24.04"]\n runs-on: ${{ matrix.os }}\n steps:\n - uses: actions/checkout@v3\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Validate cargo is working\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: version\n - name: Cache artifacts\n uses: buildjet/cache@v3\n with:\n path: pgml-extension/target\n key: buildjet-pgml-extension-artifacts-1-${{ runner.arch }} # Change this when dependencies change\n - name: Cache pgrx\n uses: buildjet/cache@v3\n with:\n path: ~/.cargo\n key: buildjet-pgml-extension-pgrx-2-${{ runner.arch }} # Change this when dependencies change\n - name: Install dependencies\n env:\n DEBIAN_FRONTEND: noninteractive\n TZ: Etc/UTC\n run: |\n git submodule update --init --recursive\n git fetch --tags\n git fetch --depth 1 origin tag v${{ inputs.packageVersion }}\n git checkout v${{ inputs.packageVersion }}\n\n # PostgreSQL apt\n curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null\n sudo sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'\n\n sudo apt-get install -y software-properties-common\n sudo add-apt-repository ppa:apt-fast/stable --yes\n sudo add-apt-repository ppa:deadsnakes/ppa --yes\n sudo apt update\n\n sudo apt-get install -y apt-fast\n sudo apt-get update && sudo apt-fast install -y \\n libopenblas-dev \\n libssl-dev \\n bison \\n flex \\n pkg-config \\n cmake \\n libreadline-dev \\n libz-dev \\n curl \\n lsb-release \\n tzdata \\n sudo \\n cmake \\n libpq-dev \\n libclang-dev \\n wget \\n postgresql-17 \\n postgresql-16 \\n postgresql-15 \\n postgresql-14 \\n postgresql-13 \\n postgresql-12 \\n postgresql-server-dev-17 \\n postgresql-server-dev-16 \\n postgresql-server-dev-15 \\n postgresql-server-dev-14 \\n postgresql-server-dev-13 \\n postgresql-server-dev-12 \\n lsb-release \\n python3.10 \\n python3-pip \\n libpython3.10-dev \\n python3.10-dev \\n ruby \\n lld\n\n curl -sLO https://github.com/deb-s3/deb-s3/releases/download/0.11.4/deb-s3-0.11.4.gem\n sudo gem install deb-s3-0.11.4.gem\n dpkg-deb --version\n - name: Install pgrx\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: install\n args: cargo-pgrx --version "0.12.9" --locked\n - name: pgrx init\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: pgrx\n args: init --pg12=/usr/lib/postgresql/12/bin/pg_config --pg13=/usr/lib/postgresql/13/bin/pg_config --pg14=/usr/lib/postgresql/14/bin/pg_config --pg15=/usr/lib/postgresql/15/bin/pg_config --pg16=/usr/lib/postgresql/16/bin/pg_config --pg17=/usr/lib/postgresql/17/bin/pg_config\n - name: Build Postgres 12\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: pgrx\n args: package --pg-config /usr/lib/postgresql/12/bin/pg_config\n - name: Build Postgres 13\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: pgrx\n args: package --pg-config /usr/lib/postgresql/13/bin/pg_config\n - name: Build Postgres 14\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: pgrx\n args: package --pg-config /usr/lib/postgresql/14/bin/pg_config\n - name: Build Postgres 15\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: pgrx\n args: package --pg-config /usr/lib/postgresql/15/bin/pg_config\n - name: Build Postgres 16\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: pgrx\n args: package --pg-config /usr/lib/postgresql/16/bin/pg_config\n - name: Build Postgres 17\n uses: postgresml/gh-actions-cargo@master\n with:\n working-directory: pgml-extension\n command: pgrx\n args: package --pg-config /usr/lib/postgresql/17/bin/pg_config\n - name: Build debs\n env:\n AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }}\n run: |\n bash packages/postgresql-pgml/release.sh ${{ inputs.packageVersion }} ${{ matrix.ubuntu_version }}\n\n #\n # PostgresML meta package which installs\n # all the necessary dependencies.\n #\n postgresml:\n needs: postgresml-pgml\n strategy:\n fail-fast: false # Let the other job finish\n matrix:\n os: ["ubuntu-22.04"]\n ubuntu_version: ["20.04", "22.04", "24.04"]\n runs-on: ${{ matrix.os }}\n steps:\n - uses: actions/checkout@v3\n - name: Build and release package\n env:\n AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }}\n run: |\n bash packages/postgresml/release.sh ${{ inputs.packageVersion }} ${{ matrix.ubuntu_version }}\n\n #\n # PostgresML dashboard.\n #\n postgresml-dashboard:\n needs: postgresml\n strategy:\n fail-fast: false # Let the other job finish\n matrix:\n os: ["ubuntu-22.04", "buildjet-4vcpu-ubuntu-2204-arm"]\n ubuntu_version: ["20.04", "22.04", "24.04"]\n runs-on: ${{ matrix.os }}\n steps:\n - uses: actions/checkout@v3\n - uses: actions-rs/toolchain@v1\n with:\n toolchain: stable\n - name: Build and release package\n env:\n AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}\n AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }}\n run: |\n cargo install cargo-pgml-components\n bash packages/postgresml-dashboard/release.sh ${{ inputs.packageVersion }} ${{ matrix.ubuntu_version }}\n\n #\n # PostgresML Docker image.\n #\n publish-extension-docker-image:\n needs:\n - postgresml\n - postgresml-dashboard\n strategy:\n fail-fast: false # Let the other job finish\n matrix:\n os: ["buildjet-4vcpu-ubuntu-2204"]\n runs-on: ${{ matrix.os }}\n defaults:\n run:\n working-directory: docker\n steps:\n - uses: actions/checkout@v2\n - name: Login to GitHub Container Registry\n uses: docker/login-action@v1\n with:\n registry: ghcr.io\n username: ${{ github.actor }}\n password: ${{ secrets.GITHUB_TOKEN }}\n - name: Build and push Docker image\n run: |\n docker run --privileged --rm tonistiigi/binfmt --install all\n docker buildx create --use --name mybuilder\n docker buildx build \\n --platform linux/amd64,linux/arm64 \\n --tag ghcr.io/postgresml/postgresml:${{ inputs.packageVersion }} \\n --push .\n
dataset_sample\yaml\postgresml_postgresml\.github\workflows\ubuntu-packages-and-docker-image.yml
ubuntu-packages-and-docker-image.yml
YAML
8,119
0.8
0
0.072961
python-kit
435
2024-09-26T00:51:51.217814
MIT
false
41fc0cf7a683fe76af7cfecff42cc966
\n# Name your project! Project names should contain only lowercase characters\n# and underscores. A good package name should reflect your organization's\n# name or the intended use of these models\nname: 'pgml_flow'\nversion: '1.0.0'\nconfig-version: 2\n\nvars:\n splitter_name: "recursive_character"\n splitter_parameters: {"chunk_size": 100, "chunk_overlap": 20}\n task: "embedding"\n model_name: "intfloat/e5-small-v2"\n #embeddings_table_name: "embeddings_intfloat_e5_small"\n query_string: 'Lorem ipsum 3'\n limit: 2\n\n# This setting configures which "profile" dbt uses for this project.\nprofile: 'pgml_flow'\n\n# These configurations specify where dbt should look for different types of files.\n# The `model-paths` config, for example, states that models in this project can be\n# found in the "models/" directory. You probably won't need to change these!\nmodel-paths: ["models"]\nanalysis-paths: ["analyses"]\ntest-paths: ["tests"]\nseed-paths: ["seeds"]\nmacro-paths: ["macros"]\nsnapshot-paths: ["snapshots"]\n\nclean-targets: # directories to be removed by `dbt clean`\n - "target"\n - "dbt_packages"\n\n\n# Configuring models\n# Full documentation: https://docs.getdbt.com/docs/configuring-models\n\n# In this example config, we tell dbt to build all models in the example/\n# directory as views. These settings can be overridden in the individual model\n# files using the `{{ config(...) }}` macro.\nmodels:\n pgml_flow:\n +materialized: table\n
dataset_sample\yaml\postgresml_postgresml\pgml-extension\examples\dbt\embeddings\dbt_project.yml
dbt_project.yml
YAML
1,437
0.8
0.068182
0.361111
node-utils
84
2025-07-02T03:19:29.742522
Apache-2.0
false
92aee2915c38ca4c64a0c44a2465464d
pgml_flow:\n outputs:\n\n dev:\n type: postgres\n threads: 1\n host: 127.0.0.1\n port: 5433\n user: postgres\n pass: ""\n dbname: pgml_development\n schema: test_collection_1\n \n prod:\n type: postgres\n threads: [1 or more]\n host: [host]\n port: [port]\n user: [prod_username]\n pass: [prod_password]\n dbname: [dbname]\n schema: [prod_schema]\n\n target: dev\n
dataset_sample\yaml\postgresml_postgresml\pgml-extension\examples\dbt\embeddings\profiles.yml
profiles.yml
YAML
433
0.7
0
0
vue-tools
469
2025-05-11T18:18:00.980711
GPL-3.0
false
58e5ea060e6dea112b90dae8bbce84c4
\nversion: 2\n\nmodels:\n - name: characters\n description: "Number of characters in the document"\n columns:\n - name: document_id\n description: "Document ID"\n tests:\n - unique\n - not_null\n - name: character_count\n description: "Number of characters in the document"\n tests:\n - not_null\n - name: splitters\n description: "Splitters used to split the document"\n columns:\n - name: id\n description: "Splitter ID"\n tests:\n - unique\n - not_null\n - name: name\n description: "Splitter name"\n tests:\n - not_null\n - name: parameters\n description: "Splitter parameters"\n tests:\n - not_null\n - name: chunks\n description: "Chunks of the document"\n columns:\n - name: document_id\n description: "Document ID"\n tests:\n - not_null\n - name: splitter_id\n description: "Splitter ID"\n tests:\n - not_null\n - name: chunk\n description: "Chunk text"\n tests:\n - not_null\nsources:\n - name: test_collection_1\n tables:\n - name: documents
dataset_sample\yaml\postgresml_postgresml\pgml-extension\examples\dbt\embeddings\models\schema.yml
schema.yml
YAML
1,173
0.7
0
0
awesome-app
411
2024-08-22T02:20:16.139075
Apache-2.0
false
0988d70b57cc18e5e81a580879db2cf6
# name: codecov.yml\nfixes:\n - "projects/powershell-*::"\ncodecov:\n notify:\n after_n_builds: 1\n wait_for_ci: no\n comment: off\n
dataset_sample\yaml\PowerShell_PowerShell\codecov.yml
codecov.yml
YAML
151
0.8
0
0.125
react-lib
134
2023-09-28T03:25:51.832825
GPL-3.0
false
8447be2247ae08bacf1f08673cfcfb77
github: &github\n - .github/actions/**\n - .github/workflows/**-ci.yml\ntools: &tools\n - tools/buildCommon/**\n - tools/ci.psm1\nprops: &props\n - '**.props'\ntests: &tests\n - test/powershell/**\n - test/tools/**\n - test/xUnit/**\nmainSource: &mainSource\n - src/**\nbuildModule: &buildModule\n - build.psm1\nsource:\n - *github\n - *tools\n - *props\n - *buildModule\n - *mainSource\n - *tests\n
dataset_sample\yaml\PowerShell_PowerShell\.github\action-filters.yml
action-filters.yml
YAML
392
0.8
0
0
node-utils
268
2024-03-28T20:33:24.713224
MIT
false
0ae9fd77f8a60f386a6acdc2c3075d3d
version: 2\n\nupdates:\n - package-ecosystem: "github-actions"\n directory: "/"\n schedule:\n interval: "daily"\n labels:\n - "CL-BuildPackaging"\n\n - package-ecosystem: docker\n directory: /\n schedule:\n interval: daily\n labels:\n - "CL-BuildPackaging"\n
dataset_sample\yaml\PowerShell_PowerShell\.github\dependabot.yml
dependabot.yml
YAML
282
0.7
0
0
awesome-app
859
2023-12-13T18:05:54.123940
Apache-2.0
false
5f820b084c427b615065779ba1dd74bf
name: CI Build\ndescription: 'Builds PowerShell'\nruns:\n using: composite\n steps:\n - name: Capture Environment\n if: success() || failure()\n run: 'Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose'\n shell: pwsh\n - name: Set Build Name for Non-PR\n if: github.event_name != 'PullRequest'\n run: Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhmmss"))"\n shell: pwsh\n - uses: actions/setup-dotnet@v4\n with:\n global-json-file: ./global.json\n - name: Bootstrap\n if: success()\n run: |-\n Write-Verbose -Verbose "Running Bootstrap..."\n Import-Module .\tools\ci.psm1\n Invoke-CIInstall -SkipUser\n Write-Verbose -Verbose "Start Sync-PSTags"\n Sync-PSTags -AddRemoteIfMissing\n Write-Verbose -Verbose "End Sync-PSTags"\n shell: pwsh\n - name: Build\n if: success()\n run: |-\n Write-Verbose -Verbose "Running Build..."\n Import-Module .\tools\ci.psm1\n Invoke-CIBuild\n shell: pwsh\n - name: xUnit Tests\n if: success()\n continue-on-error: true\n run: |-\n Write-Verbose -Verbose "Running xUnit tests..."\n Import-Module .\tools\ci.psm1\n Restore-PSOptions\n Invoke-CIxUnit -SkipFailing\n shell: pwsh\n - name: Upload build artifact\n uses: actions/upload-artifact@v4\n with:\n name: build\n path: ${{ runner.workspace }}/build\n - name: Upload xunit artifact\n uses: actions/upload-artifact@v4\n with:\n name: testResults-xunit\n path: ${{ runner.workspace }}/xunit\n
dataset_sample\yaml\PowerShell_PowerShell\.github\actions\build\ci\action.yml
action.yml
YAML
1,598
0.8
0.115385
0
vue-tools
620
2025-04-16T08:30:20.948951
MIT
false
b2ae4eb1858b9a95ddb0c296d86c4486
name: Path Filters\ndescription: 'Path Filters'\ninputs:\n GITHUB_TOKEN:\n description: 'GitHub token'\n required: true\noutputs:\n source:\n description: 'Source code changes (composite of all changes)'\n value: ${{ steps.filter.outputs.source }}\n githubChanged:\n description: 'GitHub workflow changes'\n value: ${{ steps.filter.outputs.githubChanged }}\n toolsChanged:\n description: 'Tools changes'\n value: ${{ steps.filter.outputs.toolsChanged }}\n propsChanged:\n description: 'Props changes'\n value: ${{ steps.filter.outputs.propsChanged }}\n testsChanged:\n description: 'Tests changes'\n value: ${{ steps.filter.outputs.testsChanged }}\n mainSourceChanged:\n description: 'Main source code changes (any changes in src/)'\n value: ${{ steps.filter.outputs.mainSourceChanged }}\n buildModuleChanged:\n description: 'Build module changes'\n value: ${{ steps.filter.outputs.buildModuleChanged }}\nruns:\n using: composite\n steps:\n - name: Check if GitHubWorkflowChanges is present\n id: filter\n uses: actions/github-script@v7.0.1\n with:\n github-token: ${{ inputs.GITHUB_TOKEN }}\n script: |\n console.log(`Event Name: ${context.eventName}`);\n\n // Just say everything changed if this is not a PR\n if (context.eventName !== 'pull_request') {\n console.log('Not a pull request, setting all outputs to true');\n core.setOutput('toolsChanged', true);\n core.setOutput('githubChanged', true);\n core.setOutput('propsChanged', true);\n core.setOutput('testsChanged', true);\n core.setOutput('mainSourceChanged', true);\n core.setOutput('buildModuleChanged', true);\n core.setOutput('source', true);\n return;\n }\n\n console.log(`Getting files changed in PR #${context.issue.number}`);\n\n // Fetch the list of files changed in the PR\n let files = [];\n let page = 1;\n let fetchedFiles;\n do {\n fetchedFiles = await github.rest.pulls.listFiles({\n owner: context.repo.owner,\n repo: context.repo.repo,\n pull_number: context.issue.number,\n per_page: 100,\n page: page++\n });\n files = files.concat(fetchedFiles.data);\n } while (fetchedFiles.data.length > 0);\n\n const actionsChanged = files.some(file => file.filename.startsWith('.github/actions'));\n const workflowsChanged = files.some(file => file.filename.startsWith('.github/workflows'));\n const githubChanged = actionsChanged || workflowsChanged;\n\n const toolsCiPsm1Changed = files.some(file => file.filename.startsWith('tools/ci.psm1'));\n const toolsBuildCommonChanged = files.some(file => file.filename.startsWith('tools/buildCommon/'));\n const toolsChanged = toolsCiPsm1Changed || toolsBuildCommonChanged;\n\n const propsChanged = files.some(file => file.filename.endsWith('.props'));\n\n const testsChanged = files.some(file => file.filename.startsWith('test/powershell/') || file.filename.startsWith('test/tools/') || file.filename.startsWith('test/xUnit/'));\n\n const mainSourceChanged = files.some(file => file.filename.startsWith('src/'));\n\n const buildModuleChanged = files.some(file => file.filename.startsWith('build.psm1'));\n\n const source = mainSourceChanged || toolsChanged || githubChanged || propsChanged || testsChanged;\n\n core.setOutput('toolsChanged', toolsChanged);\n core.setOutput('githubChanged', githubChanged);\n core.setOutput('propsChanged', propsChanged);\n core.setOutput('testsChanged', testsChanged);\n core.setOutput('mainSourceChanged', mainSourceChanged);\n core.setOutput('buildModuleChanged', buildModuleChanged);\n core.setOutput('source', source);\n\n - name: Capture outputs\n run: |\n Write-Verbose -Verbose "source: ${{ steps.filter.outputs.source }}"\n Write-Verbose -Verbose "github: ${{ steps.filter.outputs.githubChanged }}"\n Write-Verbose -Verbose "tools: ${{ steps.filter.outputs.toolsChanged }}"\n Write-Verbose -Verbose "props: ${{ steps.filter.outputs.propsChanged }}"\n Write-Verbose -Verbose "tests: ${{ steps.filter.outputs.testsChanged }}"\n Write-Verbose -Verbose "mainSource: ${{ steps.filter.outputs.mainSourceChanged }}"\n Write-Verbose -Verbose "buildModule: ${{ steps.filter.outputs.buildModuleChanged }}"\n shell: pwsh\n
dataset_sample\yaml\PowerShell_PowerShell\.github\actions\infrastructure\path-filters\action.yml
action.yml
YAML
4,571
0.95
0.038095
0.021505
node-utils
338
2024-12-21T14:44:59.698268
Apache-2.0
false
f879baa4de94349489a83fcd8c40241a
name: linux_packaging\ndescription: 'Test very basic Linux packaging'\n\n# This isn't working yet\n# It fails with\n\n# ERROR: While executing gem ... (Gem::FilePermissionError)\n# You don't have write permissions for the /var/lib/gems/2.7.0 directory.\n# WARNING: Installation of gem dotenv 2.8.1 failed! Must resolve manually.\n\nruns:\n using: composite\n steps:\n - name: Capture Environment\n if: success() || failure()\n run: 'Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose'\n shell: pwsh\n - name: Download Build Artifacts\n uses: actions/download-artifact@v4\n with:\n path: "${{ github.workspace }}"\n - name: Capture Artifacts Directory\n continue-on-error: true\n run: Get-ChildItem "${{ github.workspace }}/build/*" -Recurse\n shell: pwsh\n\n - name: Bootstrap\n run: |-\n Import-Module ./build.psm1\n Start-PSBootstrap -Scenario Package\n shell: pwsh\n - name: Capture Artifacts Directory\n continue-on-error: true\n run: Import-Module ./build.psm1\n shell: pwsh\n - name: Extract Files\n uses: actions/github-script@v7.0.0\n env:\n DESTINATION_FOLDER: "${{ github.workspace }}/bins"\n ARCHIVE_FILE_PATTERNS: "${{ github.workspace }}/build/build.zip"\n with:\n script: |-\n const fs = require('fs').promises\n const path = require('path')\n const target = path.resolve(process.env.DESTINATION_FOLDER)\n const patterns = process.env.ARCHIVE_FILE_PATTERNS\n const globber = await glob.create(patterns)\n await io.mkdirP(path.dirname(target))\n for await (const file of globber.globGenerator()) {\n if ((await fs.lstat(file)).isDirectory()) continue\n await exec.exec(`7z x ${file} -o${target} -aoa`)\n }\n - name: Fix permissions\n continue-on-error: true\n run: |-\n find "${{ github.workspace }}/bins" -type d -exec chmod +rwx {} \;\n find "${{ github.workspace }}/bins" -type f -exec chmod +rw {} \;\n shell: bash\n - name: Capture Extracted Build ZIP\n continue-on-error: true\n run: Get-ChildItem "${{ github.workspace }}/bins/*" -Recurse -ErrorAction SilentlyContinue\n shell: pwsh\n - name: Packaging Tests\n if: success()\n run: |-\n Import-Module ./tools/ci.psm1\n Restore-PSOptions -PSOptionsPath '${{ github.workspace }}/build/psoptions.json'\n $options = (Get-PSOptions)\n $rootPath = '${{ github.workspace }}/bins'\n $originalRootPath = Split-Path -path $options.Output\n $path = Join-Path -path $rootPath -ChildPath (split-path -leaf -path $originalRootPath)\n $pwshPath = Join-Path -path $path -ChildPath 'pwsh'\n chmod a+x $pwshPath\n $options.Output = $pwshPath\n Set-PSOptions $options\n Invoke-CIFinish\n shell: pwsh\n - name: Upload packages\n run: |-\n Get-ChildItem "${env:BUILD_ARTIFACTSTAGINGDIRECTORY}/*.deb" -Recurse | ForEach-Object {\n $packagePath = $_.FullName\n Write-Host "Uploading $packagePath"\n Write-Host "##vso[artifact.upload containerfolder=deb;artifactname=deb]$packagePath"\n }\n Get-ChildItem "${env:BUILD_ARTIFACTSTAGINGDIRECTORY}/*.rpm" -Recurse | ForEach-Object {\n $packagePath = $_.FullName\n Write-Host "Uploading $packagePath"\n Write-Host "##vso[artifact.upload containerfolder=rpm;artifactname=rpm]$packagePath"\n }\n Get-ChildItem "${env:BUILD_ARTIFACTSTAGINGDIRECTORY}/*.tar.gz" -Recurse | ForEach-Object {\n $packagePath = $_.FullName\n Write-Host "Uploading $packagePath"\n Write-Host "##vso[artifact.upload containerfolder=rpm;artifactname=rpm]$packagePath"\n }\n shell: pwsh\n
dataset_sample\yaml\PowerShell_PowerShell\.github\actions\test\linux-packaging\action.yml
action.yml
YAML
3,644
0.95
0.052632
0.054945
vue-tools
430
2023-10-07T20:56:18.567699
GPL-3.0
true
c32e5ff97e360d6e074c6874a766695a
name: nix_test\ndescription: 'Test PowerShell on non-Windows platforms'\n\ninputs:\n purpose:\n required: false\n default: ''\n type: string\n tagSet:\n required: false\n default: CI\n type: string\n ctrfFolder:\n required: false\n default: ctrf\n type: string\n\nruns:\n using: composite\n steps:\n - name: Capture Environment\n if: success() || failure()\n run: |-\n Import-Module ./build.psm1\n Write-LogGroupStart -Title 'Environment'\n Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose\n Write-LogGroupEnd -Title 'Environment'\n shell: pwsh\n\n - name: Download Build Artifacts\n uses: actions/download-artifact@v4\n with:\n path: "${{ github.workspace }}"\n\n - name: Capture Artifacts Directory\n continue-on-error: true\n run: |-\n Import-Module ./build.psm1\n Write-LogGroupStart -Title 'Artifacts Directory'\n Get-ChildItem "${{ github.workspace }}/build/*" -Recurse\n Write-LogGroupEnd -Title 'Artifacts Directory'\n shell: pwsh\n\n - uses: actions/setup-dotnet@v4\n with:\n global-json-file: ./global.json\n\n - name: Bootstrap\n shell: pwsh\n run: |-\n Import-Module ./build.psm1\n Write-LogGroupStart -Title 'Bootstrap'\n Import-Module ./tools/ci.psm1\n Invoke-CIInstall -SkipUser\n Write-LogGroupEnd -Title 'Bootstrap'\n\n - name: Extract Files\n uses: actions/github-script@v7.0.0\n env:\n DESTINATION_FOLDER: "${{ github.workspace }}/bins"\n ARCHIVE_FILE_PATTERNS: "${{ github.workspace }}/build/build.zip"\n with:\n script: |-\n const fs = require('fs').promises\n const path = require('path')\n const target = path.resolve(process.env.DESTINATION_FOLDER)\n const patterns = process.env.ARCHIVE_FILE_PATTERNS\n const globber = await glob.create(patterns)\n await io.mkdirP(path.dirname(target))\n for await (const file of globber.globGenerator()) {\n if ((await fs.lstat(file)).isDirectory()) continue\n await exec.exec(`7z x ${file} -o${target} -aoa`)\n }\n\n - name: Fix permissions\n continue-on-error: true\n run: |-\n find "${{ github.workspace }}/bins" -type d -exec chmod +rwx {} \;\n find "${{ github.workspace }}/bins" -type f -exec chmod +rw {} \;\n shell: bash\n\n - name: Capture Extracted Build ZIP\n continue-on-error: true\n run: |-\n Import-Module ./build.psm1\n Write-LogGroupStart -Title 'Extracted Build ZIP'\n Get-ChildItem "${{ github.workspace }}/bins/*" -Recurse -ErrorAction SilentlyContinue\n Write-LogGroupEnd -Title 'Extracted Build ZIP'\n shell: pwsh\n\n - name: Test\n if: success()\n run: |-\n Import-Module ./tools/ci.psm1\n Restore-PSOptions -PSOptionsPath '${{ github.workspace }}/build/psoptions.json'\n $options = (Get-PSOptions)\n $rootPath = '${{ github.workspace }}/bins'\n $originalRootPath = Split-Path -path $options.Output\n $path = Join-Path -path $rootPath -ChildPath (split-path -leaf -path $originalRootPath)\n $pwshPath = Join-Path -path $path -ChildPath 'pwsh'\n chmod a+x $pwshPath\n $options.Output = $pwshPath\n Set-PSOptions $options\n Invoke-CITest -Purpose '${{ inputs.purpose }}' -TagSet '${{ inputs.tagSet }}' -TitlePrefix '${{ inputs.buildName }}' -OutputFormat NUnitXml\n shell: pwsh\n\n - name: Convert, Publish, and Upload Pester Test Results\n uses: "./.github/actions/test/process-pester-results"\n with:\n name: "${{ inputs.purpose }}-${{ inputs.tagSet }}"\n testResultsFolder: "${{ runner.workspace }}/testResults"\n ctrfFolder: "${{ inputs.ctrfFolder }}"\n
dataset_sample\yaml\PowerShell_PowerShell\.github\actions\test\nix\action.yml
action.yml
YAML
3,641
0.95
0.035714
0
react-lib
850
2024-03-07T15:09:01.421461
BSD-3-Clause
true
fd6cfb56f76eca8ab083a650301476d0
name: process-pester-test-results\ndescription: 'Process Pester test results'\n\ninputs:\n name:\n required: true\n default: ''\n type: string\n testResultsFolder:\n required: false\n default: "${{ runner.workspace }}/testResults"\n type: string\n\nruns:\n using: composite\n steps:\n - name: Log Summary\n run: |-\n & "$env:GITHUB_ACTION_PATH/process-pester-results.ps1" -Name '${{ inputs.name }}' -TestResultsFolder '${{ inputs.testResultsFolder }}'\n shell: pwsh\n\n - name: Upload testResults artifact\n if: always()\n uses: actions/upload-artifact@v4\n with:\n name: junit-pester-${{ inputs.name }}\n path: ${{ runner.workspace }}/testResults\n
dataset_sample\yaml\PowerShell_PowerShell\.github\actions\test\process-pester-results\action.yml
action.yml
YAML
676
0.85
0.037037
0
node-utils
150
2024-04-05T02:12:52.479650
GPL-3.0
true
086d70dbcc78061e046cafb26ebc463e
name: verify_xunit\ndescription: 'Verify xUnit Results'\n\nruns:\n using: composite\n steps:\n - name: Download build artifacts\n uses: actions/download-artifact@v4\n with:\n path: "${{ github.workspace }}"\n - name: Capture artifacts directory\n continue-on-error: true\n run: dir "${{ github.workspace }}\testResults-xunit\*" -Recurse\n shell: pwsh\n - name: Test\n if: success()\n run: |-\n Import-Module .\tools\ci.psm1\n $xUnitTestResultsFile = "${{ github.workspace }}\testResults-xunit\xUnitTestResults.xml"\n Test-XUnitTestResults -TestResultsFile $xUnitTestResultsFile\n shell: pwsh\n
dataset_sample\yaml\PowerShell_PowerShell\.github\actions\test\verify_xunit\action.yml
action.yml
YAML
621
0.7
0.047619
0
python-kit
373
2023-08-10T18:18:32.797665
BSD-3-Clause
true
f0a4889852f26aa80524ecb958e197ad
name: windows_test\ndescription: 'Test PowerShell on Windows'\n\ninputs:\n purpose:\n required: false\n default: ''\n type: string\n tagSet:\n required: false\n default: CI\n type: string\n ctrfFolder:\n required: false\n default: ctrf\n type: string\n\nruns:\n using: composite\n steps:\n - name: Capture Environment\n if: success() || failure()\n run: |-\n Import-Module ./build.psm1\n Write-LogGroupStart -Title 'Environment'\n Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose\n Write-LogGroupEnd -Title 'Environment'\n shell: pwsh\n\n - name: Download Build Artifacts\n uses: actions/download-artifact@v4\n with:\n path: "${{ github.workspace }}"\n\n - name: Capture Artifacts Directory\n continue-on-error: true\n run: |-\n Import-Module ./build.psm1\n Write-LogGroupStart -Title 'Artifacts Directory'\n Get-ChildItem "${{ github.workspace }}/build/*" -Recurse\n Write-LogGroupEnd -Title 'Artifacts Directory'\n shell: pwsh\n\n - uses: actions/setup-dotnet@v4\n with:\n global-json-file: .\global.json\n\n - name: Bootstrap\n shell: powershell\n run: |-\n Import-Module ./build.psm1\n Write-LogGroupStart -Title 'Bootstrap'\n Write-Host "Old Path:"\n Write-Host $env:Path\n $dotnetPath = Join-Path $env:SystemDrive 'Program Files\dotnet'\n $paths = $env:Path -split ";" | Where-Object { -not $_.StartsWith($dotnetPath) }\n $env:Path = $paths -join ";"\n Write-Host "New Path:"\n Write-Host $env:Path\n # Bootstrap\n Import-Module .\tools\ci.psm1\n Invoke-CIInstall\n Write-LogGroupEnd -Title 'Bootstrap'\n\n - name: Test\n if: success()\n run: |-\n Import-Module .\build.psm1 -force\n Import-Module .\tools\ci.psm1\n Restore-PSOptions -PSOptionsPath '${{ github.workspace }}\build\psoptions.json'\n $options = (Get-PSOptions)\n $path = split-path -path $options.Output\n $rootPath = split-Path -path $path\n Expand-Archive -Path '${{ github.workspace }}\build\build.zip' -DestinationPath $rootPath -Force\n Invoke-CITest -Purpose '${{ inputs.purpose }}' -TagSet '${{ inputs.tagSet }}' -OutputFormat NUnitXml\n shell: pwsh\n\n - name: Convert, Publish, and Upload Pester Test Results\n uses: "./.github/actions/test/process-pester-results"\n with:\n name: "${{ inputs.purpose }}-${{ inputs.tagSet }}"\n testResultsFolder: ${{ runner.workspace }}\testResults\n ctrfFolder: "${{ inputs.ctrfFolder }}"\n
dataset_sample\yaml\PowerShell_PowerShell\.github\actions\test\windows\action.yml
action.yml
YAML
2,512
0.95
0.024096
0.013333
vue-tools
996
2024-05-04T06:08:47.659727
MIT
true
16b7c48dac4af997ae320cd1ecd91f31
blank_issues_enabled: false\ncontact_links:\n - name: Windows PowerShell\n url: https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332\n about: Windows PowerShell issues or suggestions.\n - name: Support\n url: https://github.com/PowerShell/PowerShell/blob/master/.github/SUPPORT.md\n about: PowerShell Support Questions/Help\n - name: Documentation Issue\n url: https://github.com/MicrosoftDocs/PowerShell-Docs/issues/new/choose\n about: Please open issues on documentation for PowerShell here.\n
dataset_sample\yaml\PowerShell_PowerShell\.github\ISSUE_TEMPLATE\config.yml
config.yml
YAML
580
0.8
0.090909
0
python-kit
5
2024-07-01T07:34:40.728263
MIT
false
b90e7544c367048ac2cf05dae912d47f
id: CloseResolutionTags\nname: GitOps.PullRequestIssueManagement\ndescription: Closing issues with Resolution* \nowner:\nresource: repository\ndisabled: false\nwhere:\nconfiguration:\n resourceManagementConfiguration:\n scheduledSearches:\n - description: Close if marked as Resolution-Declined after one day of no activity\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: Resolution-Declined\n - noActivitySince:\n days: 1\n actions:\n - addReply:\n reply: This issue has been marked as declined and has not had any activity for **1 day**. It has been closed for housekeeping purposes.\n - closeIssue\n \n - description: Close if marked as Resolution-By Design after one day of no activity\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: Resolution-By Design\n - noActivitySince:\n days: 1\n actions:\n - addReply:\n reply: This issue has been marked as by-design and has not had any activity for **1 day**. It has been closed for housekeeping purposes.\n - closeIssue\n \n - description: Close if marked as Resolution-Won't Fix after one day of no activity\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: Resolution-Won't Fix\n - noActivitySince:\n days: 1\n actions:\n - addReply:\n reply: This issue has been marked as won't fix and has not had any activity for **1 day**. It has been closed for housekeeping purposes.\n - closeIssue\n \n - description: Close if marked as Resolution-No Activity after seven day of no activity, no reply \n frequencies:\n - hourly:\n hour: 12\n filters:\n - isOpen\n - isIssue\n - hasLabel:\n label: Resolution-No Activity\n - noActivitySince:\n days: 7\n actions:\n - closeIssue\n \n - description: Close if marked as Resolution-Duplicate after one day of no activity\n frequencies:\n - hourly:\n hour: 3\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: Resolution-Duplicate\n - noActivitySince:\n days: 1\n actions:\n - addReply:\n reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It has been closed for housekeeping purposes.\n - closeIssue\n \n - description: Close if marked as Resolution-External after one day of no activity\n frequencies:\n - hourly:\n hour: 3\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: Resolution-External\n - noActivitySince:\n days: 1\n actions:\n - addReply:\n reply: This issue has been marked as external and has not had any activity for **1 day**. It has been be closed for housekeeping purposes.\n - closeIssue\n \n - description: Close if marked as Resolution-Answered after one day of no activity\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: Resolution-Answered\n - noActivitySince:\n days: 1\n actions:\n - addReply:\n reply: This issue has been marked as answered and has not had any activity for **1 day**. It has been closed for housekeeping purposes.\n - closeIssue\n \n - description: Close if marked as Resolution-Fixed after one day of no activity\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: Resolution-Fixed\n - noActivitySince:\n days: 1\n actions:\n - addReply:\n reply: This issue has been marked as fixed and has not had any activity for **1 day**. It has been closed for housekeeping purposes.\n - closeIssue\nonFailure:\nonSuccess:\n
dataset_sample\yaml\PowerShell_PowerShell\.github\policies\IssueManagement.CloseResolutions.yml
IssueManagement.CloseResolutions.yml
YAML
4,011
0.7
0.160584
0
node-utils
39
2024-04-13T06:43:12.301463
GPL-3.0
false
8f4d68c7ed75bf9864524fc236b0a992
id: IssueManagement.IssueFeedbackForm\nname: GitOps.PullRequestIssueManagement\ndescription: Bot to request the feedback for how we are doing in the repo, replies on closed PRs and issues that are NOT labeled with no activity\nowner:\nresource: repository\ndisabled: false\nwhere:\nconfiguration:\n resourceManagementConfiguration:\n eventResponderTasks:\n - if: \n - not:\n hasLabel:\n label: Resolution-No Activity\n - isAction: \n action: Closed\n then:\n - addReply:\n reply: " 📣 Hey @${issueAuthor}, how did we do? We would love to hear your feedback with the link below! 🗣️ \n\n🔗 https://aka.ms/PSRepoFeedback "\n triggerOnOwnActions: true\nonFailure:\nonSuccess:\n
dataset_sample\yaml\PowerShell_PowerShell\.github\policies\IssueManagement.IssueFeedbackForm.yml
IssueManagement.IssueFeedbackForm.yml
YAML
764
0.8
0.090909
0
vue-tools
295
2023-10-06T01:30:29.849090
BSD-3-Clause
false
0119247348d04f76ac0377a4bc01a8d0
id: IssueManagement.ResolveStale\nname: GitOps.PullRequestIssueManagement\ndescription: Other issue management rules for closing stale and waiting on author requests\nowner:\nresource: repository\ndisabled: false\nwhere:\nconfiguration:\n resourceManagementConfiguration:\n scheduledSearches:\n - description: Close if marked as Waiting on Author and no activity in 7 days\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isOpen\n - isIssue\n - hasLabel:\n label: Waiting on Author\n - noActivitySince:\n days: 7\n actions:\n - addReply:\n reply: This issue has been marked as "Waiting on Author" and has not had any activity for **7 day**. It has been closed for housekeeping purposes.\n - closeIssue\n \n - description: Label as Resolution-No Activity if not labeled with KeepOpen and no activity in 6 months\n frequencies:\n - hourly:\n hour: 24\n filters:\n - isIssue\n - isOpen\n - isNotLabeledWith:\n label: KeepOpen\n - isNotLabeledWith:\n label: In-PR\n - isNotLabeledWith:\n label: Needs-Triage\n - isNotLabeledWith:\n label: Resolution-No Activity\n - isNotLabeledWith:\n label: Issue-Meta\n - isNotLabeledWith:\n label: Review - Needed\n - isNotLabeledWith:\n label: Review - Committee\n - isNotLabeledWith:\n label: Review - Maintainer\n - isNotLabeledWith:\n label: WG-NeedsReview\n # Up for grabs labeled issues will get closed after a 6 months of no activity unless KeepOpen label is included\n - noActivitySince:\n days: 180\n actions:\n - addLabel:\n label: Resolution-No Activity\n - addReply:\n reply: "This issue has not had any activity in 6 months, if there is no further activity in 7 days, the issue will be closed automatically.\n\nActivity in this case refers only to comments on the issue. If the issue is closed and you are the author, you can re-open the issue using the button below. Please add more information to be considered during retriage. If you are not the author but the issue is impacting you after it has been closed, please submit a new issue with updated details and a link to this issue and the original."\n eventResponderTasks:\n - description: Remove no resolution label if anyone comments while in 7 day window\n if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: Resolution-No Activity\n - isOpen\n then:\n - removeLabel:\n label: Resolution-No Activity\n \n - description: If new issue comment is author then remove waiting on author\n if:\n - payloadType: Issue_Comment\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: Waiting on Author\n then:\n - removeLabel:\n label: Waiting on Author\n \n - description: Remove Stale label if issue comment \n if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: Stale\n then:\n - removeLabel:\n label: Stale\n \n - description: Remove Needs-Triage label if issue is closed\n if:\n - payloadType: Issues\n - isAction:\n action: Closed\n then:\n - removeLabel:\n label: Needs-Triage\n \n - description: Remove Keep Open label if closed by someone \n if:\n - payloadType: Issues\n - isAction:\n action: Closed\n then:\n - removeLabel:\n label: KeepOpen\nonFailure:\nonSuccess:\n
dataset_sample\yaml\PowerShell_PowerShell\.github\policies\IssueManagement.ResolveStale.yml
IssueManagement.ResolveStale.yml
YAML
3,561
0.8
0.155963
0.009615
react-lib
526
2025-02-24T16:44:53.357849
GPL-3.0
false
3b30c96e2f0a6dcc80933612b196c648
id: PRManagement\nname: GitOps.PullRequestIssueManagement\ndescription: Collection of PR bot triaging behaviors\nowner:\nresource: repository\ndisabled: false\nwhere:\nconfiguration:\n resourceManagementConfiguration:\n scheduledSearches:\n - description: If Stale label and waiting on author and no activity since 10 days then close the PR\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isPullRequest\n - isOpen\n - hasLabel:\n label: Waiting on Author\n - hasLabel:\n label: Stale\n - noActivitySince:\n days: 10\n actions:\n - closeIssue\n\n - description: If PR has Waiting on Author label and no activity in 15 days label as stale.\n frequencies:\n - hourly:\n hour: 3\n filters:\n - isPullRequest\n - isOpen\n - hasLabel:\n label: Waiting on Author\n - noActivitySince:\n days: 15\n - isNotLabeledWith:\n label: Stale\n actions:\n - addLabel:\n label: Stale\n - addReply:\n reply: This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **15 days**. It will be closed if no further activity occurs **within 10 days of this comment**.\n \n - description: Label Review - Needed if PR is opened an no activity in 7 days but no other labels on it\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isPullRequest\n - isOpen\n - isNotLabeledWith:\n label: Waiting on Author\n - noActivitySince:\n days: 7\n - isNotLabeledWith:\n label: Stale\n - isNotLabeledWith:\n label: Review - Needed\n - isNotLabeledWith:\n label: Review - Committee\n - isNotDraftPullRequest\n actions:\n - addLabel:\n label: Review - Needed\n - addReply:\n reply: >-\n This pull request has been automatically marked as Review Needed because it has been there has not been any activity for **7 days**.\n\n Maintainer, please provide feedback and/or mark it as `Waiting on Author`\n \n - description: Add waiting on Author label if is draft PR, if no activity label\n frequencies:\n - hourly:\n hour: 12\n filters:\n - isOpen\n - isDraftPullRequest\n - isNotLabeledWith:\n label: Review - Committee\n - isNotLabeledWith:\n label: Waiting on Author\n - isNotLabeledWith:\n label: Stale\n - noActivitySince:\n days: 3\n actions:\n - addLabel:\n label: Waiting on Author\n eventResponderTasks:\n \n - description: If PR has AutoMerge Label then enable Automerge to squash\n if:\n - payloadType: Pull_Request\n - hasLabel:\n label: AutoMerge\n then:\n - enableAutoMerge:\n mergeMethod: Squash\n \n - description: If PR has label AutoMerge Removed then disable Automerge\n if:\n - payloadType: Pull_Request\n - labelRemoved:\n label: AutoMerge\n then:\n - disableAutoMerge\n \n - description: If PR review requests changes then add label waiting on Author and remove review needed\n if: \n - payloadType: Pull_Request_Review\n - isAction:\n action: Submitted\n - isReviewState:\n reviewState: Changes_requested\n then:\n - addLabel:\n label: Waiting on Author\n - removeLabel:\n label: Review - Needed\n \n - description: Remove Waiting on author if has label and activity from author\n if:\n - payloadType: Pull_Request\n - isActivitySender:\n issueAuthor: True\n - not:\n isAction:\n action: Closed\n - hasLabel:\n label: Waiting on Author\n - not:\n titleContains:\n pattern: "(WIP|Work in progress|\U0001F6A7)"\n isRegex: True\n then:\n - removeLabel:\n label: Waiting on Author\n \n - description: remove waiting on author if review by author and has waiting on author\n if:\n - payloadType: Pull_Request_Review\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: Waiting on Author\n then:\n - removeLabel:\n label: Waiting on Author\n \n - description: Remove Stale label if PR has activity from author which is not closure\n if:\n - payloadType: Pull_Request\n - not:\n isAction:\n action: Closed\n - hasLabel:\n label: Stale\n - isActivitySender:\n issueAuthor: True\n then:\n - removeLabel:\n label: Stale\n \n - description: Remove Stale label if PR is reviewed\n if:\n - payloadType: Pull_Request_Review\n - hasLabel:\n label: Stale\n then:\n - removeLabel:\n label: Stale\n \n - description: Remove Review Needed if PR is created or done any action by Admins and iSazonov\n if:\n - payloadType: Pull_Request\n - hasLabel:\n label: Review - Needed\n - or:\n - isAction:\n action: Null\n - isAction:\n action: Closed\n - isAction:\n action: Reopened\n - isAction:\n action: Assigned\n - isAction:\n action: Unassigned\n - isAction:\n action: Unlabeled\n - or:\n - activitySenderHasPermission:\n permission: Admin\n - isActivitySender:\n user: iSazonov\n issueAuthor: False\n then:\n - removeLabel:\n label: Review - Needed\n \n - description: Remove Review - Needed if issue comment is by admin or iSazonov\n if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: Review - Needed\n - or:\n - activitySenderHasPermission:\n permission: Admin\n - isActivitySender:\n user: iSazonov\n issueAuthor: False\n then:\n - removeLabel:\n label: Review - Needed\n \n - description: If inPRLabel then label in PR\n if:\n - payloadType: Pull_Request\n then:\n - inPrLabel:\n label: In-PR\n \nonFailure:\nonSuccess:\n
dataset_sample\yaml\PowerShell_PowerShell\.github\policies\PRManagement.yml
PRManagement.yml
YAML
6,205
0.7
0.097345
0
awesome-app
163
2025-04-27T08:18:31.168474
Apache-2.0
false
87790e31ab1cc7ca13729d76a6aae441
name: Auto Assign PR Maintainer\non:\n issues:\n types: [opened, edited]\npermissions:\n contents: read\n\njobs:\n run:\n if: github.repository_owner == 'PowerShell'\n runs-on: ubuntu-latest\n permissions:\n issues: write\n pull-requests: write\n steps:\n - uses: wow-actions/auto-assign@67fafa03df61d7e5f201734a2fa60d1ab111880d # v3.0.2\n if: github.event.issue.pull_request\n with:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n # using the `org/team_slug` or `/team_slug` syntax to add git team as reviewers\n assignees: |\n TravisEz13\n daxian-dbw\n adityapatwardhan\n iSazonov\n SeeminglyScience\n skipDraft: true\n skipKeywords: wip, draft\n addReviewers: false\n numberOfAssignees: 1\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\AssignPrs.yml
AssignPrs.yml
YAML
826
0.8
0.066667
0.034483
python-kit
895
2024-10-11T14:12:33.597826
Apache-2.0
false
935c8bb389ea1c3d9a33bd3079c36360
name: 'Create reminder'\n\non:\n issue_comment:\n types: [created, edited]\n\npermissions:\n contents: read\n\njobs:\n reminder:\n if: github.repository_owner == 'PowerShell'\n\n permissions:\n issues: write # for agrc/create-reminder-action to set reminders on issues\n pull-requests: write # for agrc/create-reminder-action to set reminders on PRs\n runs-on: ubuntu-latest\n\n steps:\n - name: check for reminder\n uses: agrc/create-reminder-action@e0ed61248ba0de37531061bf10a623b185ce1867 # v1.1.18\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\createReminders.yml
createReminders.yml
YAML
524
0.8
0.190476
0
python-kit
199
2023-10-06T05:00:39.211836
Apache-2.0
false
7508e81c0261cb84ca4233dba9f91492
# Dependency Review Action\n#\n# This Action will scan dependency manifest files that change as part of a Pull Request,\n# surfacing known-vulnerable versions of the packages declared or updated in the PR.\n# Once installed, if the workflow run is marked as required,\n# PRs introducing known-vulnerable packages will be blocked from merging.\n#\n# Source repository: https://github.com/actions/dependency-review-action\nname: 'Dependency Review'\non: [pull_request]\n\npermissions:\n contents: read\n\njobs:\n dependency-review:\n runs-on: ubuntu-latest\n steps:\n - name: 'Checkout Repository'\n uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n - name: 'Dependency Review'\n uses: actions/dependency-review-action@ce3cf9537a52e8119d91fd484ab5b8a807627bf8 # v4.6.0\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\dependency-review.yml
dependency-review.yml
YAML
803
0.95
0.045455
0.4
react-lib
679
2023-08-06T12:22:11.852768
MIT
false
2f3dffb9f69758a9d07d0a53ec9fb36b
# Copyright (c) Microsoft Corporation.\n# Licensed under the MIT License.\n\nname: Verify PR Labels\n\non:\n pull_request:\n types: [opened, reopened, edited, labeled, unlabeled, synchronize]\n\npermissions:\n contents: read\n pull-requests: read\n\njobs:\n verify-labels:\n if: github.repository_owner == 'PowerShell'\n runs-on: ubuntu-latest\n\n steps:\n - name: Check out the repository\n uses: actions/checkout@v4\n\n - name: Verify PR has label starting with 'cl-'\n id: verify-labels\n uses: actions/github-script@v7\n with:\n script: |\n const labels = context.payload.pull_request.labels.map(label => label.name.toLowerCase());\n if (!labels.some(label => label.startsWith('cl-'))) {\n core.setFailed("Every PR must have at least one label starting with 'cl-'.");\n }\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\labels.yml
labels.yml
YAML
833
0.8
0.064516
0.08
node-utils
6
2025-03-06T03:26:52.332934
BSD-3-Clause
false
ac8a8ceddb6bbb96e7178f62182bf633
name: Linux-CI\n\nrun-name: "${{ github.ref_name }} - ${{ github.run_number }}"\n\non:\n workflow_dispatch:\n\n push:\n branches:\n - master\n - release/**\n - github-mirror\n paths:\n - "**"\n - "!.github/ISSUE_TEMPLATE/**"\n - "!.dependabot/config.yml"\n - "!.pipelines/**"\n - "!test/perf/**"\n pull_request:\n branches:\n - master\n - release/**\n - github-mirror\n# Path filters for PRs need to go into the changes job\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ contains(github.ref, 'merge')}}\n\nenv:\n DOTNET_CLI_TELEMETRY_OPTOUT: 1\n DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1\n FORCE_FEATURE: 'False'\n FORCE_PACKAGE: 'False'\n NUGET_KEY: none\n POWERSHELL_TELEMETRY_OPTOUT: 1\n __SuppressAnsiEscapeSequences: 1\n nugetMultiFeedWarnLevel: none\n system_debug: 'false'\njobs:\n changes:\n if: startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'\n name: Change Detection\n runs-on: ubuntu-latest\n # Required permissions\n permissions:\n pull-requests: read\n contents: read\n\n # Set job outputs to values from filter step\n outputs:\n source: ${{ steps.filter.outputs.source }}\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n persist-credentials: false\n\n - name: Change Detection\n id: filter\n uses: "./.github/actions/infrastructure/path-filters"\n with:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n ci_build:\n name: Build PowerShell\n runs-on: ubuntu-latest\n needs: changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n\n - name: Build\n uses: "./.github/actions/build/ci"\n linux_test_unelevated_ci:\n name: Linux Unelevated CI\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: ubuntu-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Linux Unelevated CI\n uses: "./.github/actions/test/nix"\n with:\n purpose: UnelevatedPesterTests\n tagSet: CI\n linux_test_elevated_ci:\n name: Linux Elevated CI\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: ubuntu-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Linux Elevated CI\n uses: "./.github/actions/test/nix"\n with:\n purpose: ElevatedPesterTests\n tagSet: CI\n linux_test_unelevated_others:\n name: Linux Unelevated Others\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: ubuntu-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Linux Unelevated Others\n uses: "./.github/actions/test/nix"\n with:\n purpose: UnelevatedPesterTests\n tagSet: Others\n linux_test_elevated_others:\n name: Linux Elevated Others\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: ubuntu-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Linux Elevated Others\n uses: "./.github/actions/test/nix"\n with:\n purpose: ElevatedPesterTests\n tagSet: Others\n verify_xunit:\n name: Verify xUnit test results\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: ubuntu-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Verify xUnit test results\n uses: "./.github/actions/test/verify_xunit"\n\n analyze:\n permissions:\n actions: read # for github/codeql-action/init to get workflow details\n contents: read # for actions/checkout to fetch code\n security-events: write # for github/codeql-action/analyze to upload SARIF results\n name: Analyze\n runs-on: ubuntu-latest\n needs: changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n\n strategy:\n fail-fast: false\n matrix:\n # Override automatic language detection by changing the below list\n # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']\n language: ['csharp']\n # Learn more...\n # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection\n\n steps:\n - name: Checkout repository\n uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n with:\n fetch-depth: '0'\n\n - uses: actions/setup-dotnet@v4\n with:\n global-json-file: ./global.json\n\n # Initializes the CodeQL tools for scanning.\n - name: Initialize CodeQL\n uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15\n with:\n languages: ${{ matrix.language }}\n # If you wish to specify custom queries, you can do so here or in a config file.\n # By default, queries listed here will override any specified in a config file.\n # Prefix the list here with "+" to use these queries and those in the config file.\n # queries: ./path/to/local/query, your-org/your-repo/queries@main\n\n - run: |\n Get-ChildItem -Path env: | Out-String -width 9999 -Stream | write-Verbose -Verbose\n name: Capture Environment\n shell: pwsh\n\n - run: |\n Import-Module .\tools\ci.psm1\n Invoke-CIInstall -SkipUser\n name: Bootstrap\n shell: pwsh\n\n - run: |\n Import-Module .\tools\ci.psm1\n Invoke-CIBuild\n name: Build\n shell: pwsh\n\n - name: Perform CodeQL Analysis\n uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15\n\n ready_to_merge:\n name: Linux ready to merge\n needs:\n - verify_xunit\n - linux_test_elevated_ci\n - linux_test_elevated_others\n - linux_test_unelevated_ci\n - linux_test_unelevated_others\n - analyze\n if: always()\n uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0\n with:\n needs_context: ${{ toJson(needs) }}\n # TODO: Enable this when we have a Linux packaging workflow\n\n # ERROR: While executing gem ... (Gem::FilePermissionError)\n # You don't have write permissions for the /var/lib/gems/2.7.0 directory.\n # WARNING: Installation of gem dotenv 2.8.1 failed! Must resolve manually.\n\n # linux_packaging:\n # name: Attempt Linux Packaging\n # needs: ci_build\n # runs-on: ubuntu-20.04\n # steps:\n # - name: checkout\n # uses: actions/checkout@v4\n # with:\n # fetch-depth: 1000\n # - name: Verify xUnit test results\n # uses: "./.github/actions/test/linux-packaging"\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\linux-ci.yml
linux-ci.yml
YAML
7,153
0.8
0.060241
0.118421
python-kit
160
2025-07-03T11:16:17.821756
GPL-3.0
false
e9d5fa0e8be61c4468ce3c954250a1dd
name: macOS-CI\n\nrun-name: "${{ github.ref_name }} - ${{ github.run_number }}"\n\non:\n push:\n branches:\n - master\n - release/**\n - github-mirror\n paths:\n - "**"\n - "!.github/ISSUE_TEMPLATE/**"\n - "!.dependabot/config.yml"\n - "!.pipelines/**"\n - "!test/perf/**"\n pull_request:\n branches:\n - master\n - release/**\n - github-mirror\n# Path filters for PRs need to go into the changes job\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ contains(github.ref, 'merge')}}\n\nenv:\n DOTNET_CLI_TELEMETRY_OPTOUT: 1\n DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1\n FORCE_FEATURE: 'False'\n FORCE_PACKAGE: 'False'\n HOMEBREW_NO_ANALYTICS: 1\n NUGET_KEY: none\n POWERSHELL_TELEMETRY_OPTOUT: 1\n __SuppressAnsiEscapeSequences: 1\n nugetMultiFeedWarnLevel: none\n system_debug: 'false'\n\njobs:\n changes:\n name: Change Detection\n runs-on: ubuntu-latest\n if: startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'\n # Required permissions\n permissions:\n pull-requests: read\n contents: read\n\n # Set job outputs to values from filter step\n outputs:\n source: ${{ steps.filter.outputs.source }}\n steps:\n - name: checkout\n uses: actions/checkout@v4\n\n - name: Change Detection\n id: filter\n uses: "./.github/actions/infrastructure/path-filters"\n with:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n ci_build:\n name: Build PowerShell\n runs-on: macos-latest\n needs: changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Build\n uses: "./.github/actions/build/ci"\n macos_test_unelevated_ci:\n name: macos Unelevated CI\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: macos-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: macOS Unelevated CI\n uses: "./.github/actions/test/nix"\n with:\n purpose: UnelevatedPesterTests\n tagSet: CI\n macos_test_elevated_ci:\n name: macOS Elevated CI\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: macos-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: macOS Elevated CI\n uses: "./.github/actions/test/nix"\n with:\n purpose: ElevatedPesterTests\n tagSet: CI\n macos_test_unelevated_others:\n name: macOS Unelevated Others\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: macos-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: macOS Unelevated Others\n uses: "./.github/actions/test/nix"\n with:\n purpose: UnelevatedPesterTests\n tagSet: Others\n macos_test_elevated_others:\n name: macOS Elevated Others\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: macos-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: macOS Elevated Others\n uses: "./.github/actions/test/nix"\n with:\n purpose: ElevatedPesterTests\n tagSet: Others\n verify_xunit:\n name: Verify xUnit test results\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: ubuntu-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Verify xUnit test results\n uses: "./.github/actions/test/verify_xunit"\n PackageMac-macos_packaging:\n name: macOS packaging (bootstrap only)\n needs:\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on:\n - macos-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n - name: Bootstrap packaging\n if: success() || failure()\n run: |-\n import-module ./build.psm1\n start-psbootstrap -Scenario package\n shell: pwsh\n ready_to_merge:\n name: macos ready to merge\n needs:\n - verify_xunit\n - PackageMac-macos_packaging\n - macos_test_elevated_ci\n - macos_test_elevated_others\n - macos_test_unelevated_ci\n - macos_test_unelevated_others\n if: always()\n uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0\n with:\n needs_context: ${{ toJson(needs) }}\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\macos-ci.yml
macos-ci.yml
YAML
4,795
0.95
0.059459
0.016949
vue-tools
788
2025-04-15T03:08:26.811391
Apache-2.0
false
1c4230db9ea47e0e168bec8e4704139c
on:\n pull_request:\n branches:\n - master\n\nname: Check modified markdown files\npermissions:\n contents: read\n\njobs:\n markdown-link-check:\n runs-on: ubuntu-latest\n if: github.repository_owner == 'PowerShell'\n\n steps:\n - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n - uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1\n with:\n use-quiet-mode: 'yes'\n use-verbose-mode: 'yes'\n check-modified-files-only: 'yes'\n config-file: .github/workflows/markdown-link/config.json\n markdown-lint:\n permissions:\n contents: read\n packages: read\n statuses: write\n runs-on: ubuntu-latest\n steps:\n - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n with:\n # Full git history is needed to get a proper\n # list of changed files within `super-linter`\n fetch-depth: 0\n - name: Load super-linter configuration\n # Use grep inverse matching to exclude eventual comments in the .env file\n # because the GitHub Actions command to set environment variables doesn't\n # support comments.\n # Ref: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable\n run: grep -v '^#' tools/super-linter/config/super-linter.env >> "$GITHUB_ENV"\n - name: Lint Markdown\n uses: super-linter/super-linter@4e8a7c2bf106c4c766c816b35ec612638dc9b6b2 # v7.3.0\n env:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n - name: Super-Linter correction instructions\n if: failure()\n uses: actions/github-script@v7.0.1\n with:\n script: |\n const message = "Super-Linter found issues in the changed files. Please check the logs for details. You can run the linter locally using the command: `./tools/super-lister/super-lister.ps1`.";\n core.setFailed(message);\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\markdownLink.yml
markdownLink.yml
YAML
1,991
0.8
0.078431
0.125
node-utils
586
2024-09-09T08:52:09.093722
GPL-3.0
false
86326df67f19d7d55ffc6c245c75079f
# Copyright (c) Microsoft Corporation.\n# Licensed under the MIT license.\n\nname: PowerShell Daily Markdown Link Verification\n\non:\n workflow_dispatch:\n schedule:\n # At 13:00 UTC every day.\n - cron: '0 13 * * *'\n\npermissions:\n contents: read\n\njobs:\n markdown-link-check:\n runs-on: ubuntu-latest\n if: github.repository == 'PowerShell/PowerShell'\n steps:\n - name: Checkout\n uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n - name: Check Links\n uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1\n with:\n use-quiet-mode: 'yes'\n use-verbose-mode: 'yes'\n config-file: .github/workflows/markdown-link/config.json\n - name: Microsoft Teams Notifier\n uses: skitionek/notify-microsoft-teams@e7a2493ac87dad8aa7a62f079f295e54ff511d88 # master\n if: failure()\n with:\n webhook_url: ${{ secrets.PS_BUILD_TEAMS_CHANNEL }}\n overwrite: "{title: `Failure in .github/markdownLinkDaily.yml validating links. Look at ${workflow_link}`}"\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\markdownLinkDaily.yml
markdownLinkDaily.yml
YAML
1,074
0.8
0.060606
0.103448
react-lib
605
2024-12-16T05:21:52.035347
BSD-3-Clause
false
9b23a8daa90b36f35b060461a25c2f7f
name: 'Process reminders'\n\non:\n schedule:\n - cron: '*/15 * * * *'\n workflow_dispatch:\n\npermissions:\n contents: read\n\njobs:\n reminder:\n if: github.repository_owner == 'PowerShell'\n permissions:\n issues: write # for agrc/reminder-action to set reminders on issues\n pull-requests: write # for agrc/reminder-action to set reminders on PRs\n runs-on: ubuntu-latest\n\n steps:\n - name: check reminders and notify\n uses: agrc/reminder-action@96f2ec2e1a7a53ead156504922e9bc36d64f49ee # v1.0.16\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\processReminders.yml
processReminders.yml
YAML
526
0.8
0.142857
0
node-utils
971
2024-10-02T01:53:54.417512
BSD-3-Clause
false
a62dddf105d244a9edad712edb55ab3e
# This workflow uses actions that are not certified by GitHub. They are provided\n# by a third-party and are governed by separate terms of service, privacy\n# policy, and support documentation.\n\nname: Scorecard supply-chain security\non:\n # For Branch-Protection check. Only the default branch is supported. See\n # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection\n branch_protection_rule:\n # To guarantee Maintained check is occasionally updated. See\n # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained\n schedule:\n - cron: '20 7 * * 2'\n push:\n branches: ["master"]\n\n# Declare default permissions as read only.\npermissions: read-all\n\njobs:\n analysis:\n name: Scorecard analysis\n if: github.repository_owner == 'PowerShell'\n runs-on: ubuntu-latest\n permissions:\n # Needed to upload the results to code-scanning dashboard.\n security-events: write\n # Needed to publish results and get a badge (see publish_results below).\n id-token: write\n contents: read\n actions: read\n\n steps:\n - name: "Checkout code"\n uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n with:\n persist-credentials: false\n\n - name: "Run analysis"\n uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1\n with:\n results_file: results.sarif\n results_format: sarif\n # (Optional) "write" PAT token. Uncomment the `repo_token` line below if:\n # - you want to enable the Branch-Protection check on a *public* repository, or\n # - you are installing Scorecards on a *private* repository\n # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.\n # repo_token: ${{ secrets.SCORECARD_TOKEN }}\n\n # Public repositories:\n # - Publish results to OpenSSF REST API for easy access by consumers\n # - Allows the repository to include the Scorecard badge.\n # - See https://github.com/ossf/scorecard-action#publishing-results.\n # For private repositories:\n # - `publish_results` will always be set to `false`, regardless\n # of the value entered here.\n publish_results: true\n\n # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF\n # format to the repository Actions tab.\n - name: "Upload artifact"\n uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2\n with:\n name: SARIF file\n path: results.sarif\n retention-days: 5\n\n # Upload the results to GitHub's code scanning dashboard.\n - name: "Upload to code-scanning"\n uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15\n with:\n sarif_file: results.sarif\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\scorecards.yml
scorecards.yml
YAML
2,945
0.8
0.041667
0.390625
react-lib
536
2024-06-08T18:39:05.083666
BSD-3-Clause
false
9b6679df90884eb6191786eb1d504bec
name: Windows-CI\non:\n workflow_dispatch:\n push:\n branches:\n - master\n - release/**\n - github-mirror\n paths:\n - "**"\n - "!.vsts-ci/misc-analysis.yml"\n - "!.github/ISSUE_TEMPLATE/**"\n - "!.dependabot/config.yml"\n - "!test/perf/**"\n - "!.pipelines/**"\n pull_request:\n branches:\n - master\n - release/**\n - github-mirror\n\n# Path filters for PRs need to go into the changes job\n\nconcurrency:\n group: ${{ github.workflow }}-${{ github.ref }}\n cancel-in-progress: ${{ contains(github.ref, 'merge')}}\n\npermissions:\n contents: read\n\nrun-name: "${{ github.ref_name }} - ${{ github.run_number }}"\n\nenv:\n DOTNET_CLI_TELEMETRY_OPTOUT: 1\n DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1\n GIT_CONFIG_PARAMETERS: "'core.autocrlf=false'"\n NugetSecurityAnalysisWarningLevel: none\n POWERSHELL_TELEMETRY_OPTOUT: 1\n __SuppressAnsiEscapeSequences: 1\n nugetMultiFeedWarnLevel: none\njobs:\n changes:\n name: Change Detection\n runs-on: ubuntu-latest\n if: startsWith(github.repository_owner, 'azure') || github.repository_owner == 'PowerShell'\n # Required permissions\n permissions:\n pull-requests: read\n contents: read\n\n # Set job outputs to values from filter step\n outputs:\n source: ${{ steps.filter.outputs.source }}\n steps:\n - name: checkout\n uses: actions/checkout@v4\n\n - name: Change Detection\n id: filter\n uses: "./.github/actions/infrastructure/path-filters"\n with:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n ci_build:\n name: Build PowerShell\n needs: changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: windows-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Build\n uses: "./.github/actions/build/ci"\n windows_test_unelevated_ci:\n name: Windows Unelevated CI\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: windows-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Windows Unelevated CI\n uses: "./.github/actions/test/windows"\n with:\n purpose: UnelevatedPesterTests\n tagSet: CI\n windows_test_elevated_ci:\n name: Windows Elevated CI\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: windows-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Windows Elevated CI\n uses: "./.github/actions/test/windows"\n with:\n purpose: ElevatedPesterTests\n tagSet: CI\n windows_test_unelevated_others:\n name: Windows Unelevated Others\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: windows-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Windows Unelevated Others\n uses: "./.github/actions/test/windows"\n with:\n purpose: UnelevatedPesterTests\n tagSet: Others\n windows_test_elevated_others:\n name: Windows Elevated Others\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: windows-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Windows Elevated Others\n uses: "./.github/actions/test/windows"\n with:\n purpose: ElevatedPesterTests\n tagSet: Others\n verify_xunit:\n name: Verify xUnit test results\n needs:\n - ci_build\n - changes\n if: ${{ needs.changes.outputs.source == 'true' }}\n runs-on: windows-latest\n steps:\n - name: checkout\n uses: actions/checkout@v4\n with:\n fetch-depth: 1000\n - name: Verify xUnit test results\n uses: "./.github/actions/test/verify_xunit"\n ready_to_merge:\n name: windows ready to merge\n needs:\n - verify_xunit\n - windows_test_elevated_ci\n - windows_test_elevated_others\n - windows_test_unelevated_ci\n - windows_test_unelevated_others\n if: always()\n uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@v1.0.0\n with:\n needs_context: ${{ toJson(needs) }}\n
dataset_sample\yaml\PowerShell_PowerShell\.github\workflows\windows-ci.yml
windows-ci.yml
YAML
4,456
0.8
0.053254
0.018634
node-utils
26
2023-12-01T03:05:20.029346
Apache-2.0
false
2ef3148aad847fdd2fb8382cb5a21653
# Copyright (c) Microsoft Corporation.\n# Licensed under the MIT License.\nname: apiscan-genNotice-$(BUILD.SOURCEBRANCHNAME)-$(Build.BuildId)\ntrigger: none\n\nparameters:\n - name: FORCE_CODEQL\n displayName: Debugging - Enable CodeQL and set cadence to 1 hour\n type: boolean\n default: false\n - name: SkipVerifyPackages\n type: boolean\n default: false\n\nvariables:\n # PAT permissions NOTE: Declare a SymbolServerPAT variable in this group with a 'microsoft' organizanization scoped PAT with 'Symbols' Read permission.\n # A PAT in the wrong org will give a single Error 203. No PAT will give a single Error 401, and individual pdbs may be missing even if permissions are correct.\n - group: symbols\n - name: ob_outputDirectory\n value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT'\n - name: CDP_DEFINITION_BUILD_COUNT\n value: $[counter('', 0)]\n # Defines the variables AzureFileCopySubscription, StorageAccount, StorageAccountKey, StorageResourceGroup, StorageSubscriptionName\n - group: 'Azure Blob variable group'\n # Defines the variables CgPat, CgOrganization, and CgProject\n - group: 'ComponentGovernance'\n - group: 'PoolNames'\n - name: LinuxContainerImage\n value: onebranch.azurecr.io/linux/ubuntu-2004:latest\n - name: WindowsContainerImage\n value: onebranch.azurecr.io/windows/ltsc2022/vse2022:latest\n - ${{ if eq(parameters['FORCE_CODEQL'],'true') }}:\n # Cadence is hours before CodeQL will allow a re-upload of the database\n - name: CodeQL.Cadence\n value: 0\n - name: CODEQL_ENABLED\n ${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(parameters['FORCE_CODEQL'],'true')) }}:\n value: true\n ${{ else }}:\n value: false\n - name: Codeql.TSAEnabled\n value: $(CODEQL_ENABLED)\n # AnalyzeInPipeline: false = upload results\n # AnalyzeInPipeline: true = do not upload results\n - name: Codeql.AnalyzeInPipeline\n ${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(parameters['FORCE_CODEQL'],'true')) }}:\n value: false\n ${{ else }}:\n value: true\n\nresources:\n repositories:\n - repository: templates\n type: git\n name: OneBranch.Pipelines/GovernedTemplates\n ref: refs/heads/main\n\nextends:\n template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates\n parameters:\n featureFlags:\n WindowsHostVersion:\n Version: 2022\n globalSdl:\n codeql:\n compiled:\n enabled: $(CODEQL_ENABLED)\n tsaEnabled: $(CODEQL_ENABLED) # This enables TSA bug filing only for CodeQL 3000\n armory:\n enabled: false\n sbom:\n enabled: false\n cg:\n enabled: true\n ignoreDirectories: '.devcontainer,demos,docker,docs,src,test,tools/packaging'\n tsa:\n enabled: true # onebranch publish all SDL results to TSA. If TSA is disabled all SDL tools will forced into 'break' build mode.\n credscan:\n enabled: true\n scanFolder: $(Build.SourcesDirectory)\n suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json\n binskim:\n break: true # always break the build on binskim issues in addition to TSA upload\n policheck:\n break: true # always break the build on policheck issues. You can disable it by setting to 'false'\n # APIScan requires a non-Ready-To-Run build\n apiscan:\n enabled: true\n softwareName: "PowerShell" # Default is repo name\n versionNumber: "7.5" # Default is build number\n isLargeApp: false # Default: false.\n symbolsFolder: $(SymbolsServerUrl);$(ob_outputDirectory)\n#softwareFolder - relative path to a folder to be scanned. Default value is root of artifacts folder\n tsaOptionsFile: .config\tsaoptions.json\n psscriptanalyzer:\n enabled: true\n policyName: Microsoft\n break: false\n\n stages:\n - stage: APIScan\n displayName: 'ApiScan'\n dependsOn: []\n jobs:\n - template: /.pipelines/templates/compliance/apiscan.yml@self\n parameters:\n parentJobs: []\n - stage: notice\n displayName: Generate Notice File\n dependsOn: []\n jobs:\n - template: /.pipelines/templates/compliance/generateNotice.yml@self\n parameters:\n parentJobs: []\n SkipVerifyPackages: ${{ parameters.SkipVerifyPackages }}\n
dataset_sample\yaml\PowerShell_PowerShell\.pipelines\apiscan-gen-notice.yml
apiscan-gen-notice.yml
YAML
4,359
0.95
0.043478
0.1
awesome-app
981
2025-01-15T17:21:47.588441
Apache-2.0
false
89f001a3c5445060c98736ca8a1b8ecc
name: bins-$(BUILD.SOURCEBRANCHNAME)-$(Build.BuildId)\ntrigger: none\n\nparameters:\n - name: InternalSDKBlobURL\n displayName: URL to the blob having internal .NET SDK\n type: string\n default: ' '\n - name: ReleaseTagVar\n displayName: Release Tag\n type: string\n default: 'fromBranch'\n - name: SKIP_SIGNING\n displayName: Debugging - Skip Signing\n type: string\n default: 'NO'\n - name: RUN_TEST_AND_RELEASE\n displayName: Debugging - Run Test and Release Artifacts Stage\n type: boolean\n default: true\n - name: RUN_WINDOWS\n displayName: Debugging - Enable Windows Stage\n type: boolean\n default: true\n - name: ENABLE_MSBUILD_BINLOGS\n displayName: Debugging - Enable MSBuild Binary Logs\n type: boolean\n default: false\n - name: FORCE_CODEQL\n displayName: Debugging - Enable CodeQL and set cadence to 1 hour\n type: boolean\n default: false\n\nresources:\n repositories:\n - repository: ComplianceRepo\n type: github\n endpoint: ComplianceGHRepo\n name: PowerShell/compliance\n ref: master\n - repository: onebranchTemplates\n type: git\n name: OneBranch.Pipelines/GovernedTemplates\n ref: refs/heads/main\n\nvariables:\n - name: PS_RELEASE_BUILD\n value: 1\n - name: DOTNET_CLI_TELEMETRY_OPTOUT\n value: 1\n - name: POWERSHELL_TELEMETRY_OPTOUT\n value: 1\n - name: nugetMultiFeedWarnLevel\n value: none\n - name: NugetSecurityAnalysisWarningLevel\n value: none\n - name: skipNugetSecurityAnalysis\n value: true\n - name: branchCounterKey\n value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime,variables['Build.SourceBranch'])]\n - name: branchCounter\n value: $[counter(variables['branchCounterKey'], 1)]\n - name: BUILDSECMON_OPT_IN\n value: true\n - name: __DOTNET_RUNTIME_FEED\n value: ${{ parameters.InternalSDKBlobURL }}\n - name: LinuxContainerImage\n value: onebranch.azurecr.io/linux/ubuntu-2004:latest\n - name: WindowsContainerImage\n value: onebranch.azurecr.io/windows/ltsc2019/vse2022:latest\n - name: CDP_DEFINITION_BUILD_COUNT\n value: $[counter('', 0)]\n - name: ReleaseTagVar\n value: ${{ parameters.ReleaseTagVar }}\n - name: SKIP_SIGNING\n value: ${{ parameters.SKIP_SIGNING }}\n - group: mscodehub-feed-read-general\n - group: mscodehub-feed-read-akv\n - name: ENABLE_MSBUILD_BINLOGS\n value: ${{ parameters.ENABLE_MSBUILD_BINLOGS }}\n - ${{ if eq(parameters['FORCE_CODEQL'],'true') }}:\n # Cadence is hours before CodeQL will allow a re-upload of the database\n - name: CodeQL.Cadence\n value: 1\n - name: CODEQL_ENABLED\n ${{ if or(eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(parameters['FORCE_CODEQL'],'true')) }}:\n value: true\n ${{ else }}:\n value: false\n\n\nextends:\n template: v2/OneBranch.Official.CrossPlat.yml@onebranchTemplates\n parameters:\n customTags: 'ES365AIMigrationTooling'\n featureFlags:\n LinuxHostVersion:\n Network: KS3\n WindowsHostVersion:\n Network: KS3\n globalSdl:\n disableLegacyManifest: true\n # disabled Armorty as we dont have any ARM templates to scan. It fails on some sample ARM templates.\n armory:\n enabled: false\n sbom:\n enabled: true\n codeql:\n compiled:\n enabled: $(CODEQL_ENABLED)\n tsaEnabled: true # This enables TSA bug filing only for CodeQL 3000\n credscan:\n enabled: true\n scanFolder: $(Build.SourcesDirectory)\n suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json\n cg:\n enabled: true\n ignoreDirectories: '.devcontainer,demos,docker,docs,src,test,tools/packaging'\n asyncSdl:\n enabled: true\n forStages: [prep, macos, linux, windows, test_and_release_artifacts]\n credscan:\n enabled: true\n scanFolder: $(Build.SourcesDirectory)\n suppressionsFile: $(Build.SourcesDirectory)\PowerShell\.config\suppress.json\n binskim:\n enabled: false\n # APIScan requires a non-Ready-To-Run build\n apiscan:\n enabled: false\n tsaOptionsFile: .config\tsaoptions.json\n\n stages:\n - stage: prep\n jobs:\n - job: SetVars\n displayName: Set Variables\n pool:\n type: windows\n\n variables:\n - name: ob_outputDirectory\n value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT/BuildJson'\n - name: ob_sdl_codeSignValidation_enabled\n value: false\n - name: ob_sdl_codeql_compiled_enabled\n value: false\n - name: ob_sdl_credscan_suppressionsFile\n value: $(Build.SourcesDirectory)\PowerShell\.config\suppress.json\n - name: ob_sdl_tsa_configFile\n value: $(Build.SourcesDirectory)\PowerShell\.config\tsaoptions.json\n - name: ob_signing_setup_enabled\n value: false\n - name: ob_sdl_sbom_enabled\n value: false\n\n steps:\n - checkout: self\n clean: true\n env:\n ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase\n\n - pwsh: |\n Get-ChildItem Env: | Out-String -width 9999 -Stream | write-Verbose -Verbose\n displayName: Capture environment variables\n env:\n ob_restore_phase: true # This ensures checkout is done at the beginning of the restore phase\n\n - template: /.pipelines/templates/SetVersionVariables.yml@self\n parameters:\n ReleaseTagVar: $(ReleaseTagVar)\n CreateJson: yes\n UseJson: no\n\n - stage: macos\n displayName: macOS - build and sign\n dependsOn: ['prep']\n jobs:\n - template: /.pipelines/templates/mac.yml@self\n parameters:\n buildArchitecture: x64\n - template: /.pipelines/templates/mac.yml@self\n parameters:\n buildArchitecture: arm64\n\n - stage: linux\n displayName: linux - build and sign\n dependsOn: ['prep']\n jobs:\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'linux-x64'\n JobName: 'linux_x64'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'linux-x64'\n JobName: 'linux_x64_minSize'\n BuildConfiguration: 'minSize'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'linux-arm'\n JobName: 'linux_arm'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'linux-arm64'\n JobName: 'linux_arm64'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'fxdependent-linux-x64'\n JobName: 'linux_fxd_x64_mariner'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'fxdependent-linux-arm64'\n JobName: 'linux_fxd_arm64_mariner'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'fxdependent-noopt-linux-musl-x64'\n JobName: 'linux_fxd_x64_alpine'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'fxdependent'\n JobName: 'linux_fxd'\n\n - template: /.pipelines/templates/linux.yml@self\n parameters:\n Runtime: 'linux-musl-x64'\n JobName: 'linux_x64_alpine'\n\n - stage: windows\n displayName: windows - build and sign\n dependsOn: ['prep']\n condition: and(succeeded(),eq('${{ parameters.RUN_WINDOWS }}','true'))\n jobs:\n - template: /.pipelines/templates/windows-hosted-build.yml@self\n parameters:\n Architecture: x64\n BuildConfiguration: release\n JobName: build_windows_x64_release\n - template: /.pipelines/templates/windows-hosted-build.yml@self\n parameters:\n Architecture: x64\n BuildConfiguration: minSize\n JobName: build_windows_x64_minSize_release\n - template: /.pipelines/templates/windows-hosted-build.yml@self\n parameters:\n Architecture: x86\n JobName: build_windows_x86_release\n - template: /.pipelines/templates/windows-hosted-build.yml@self\n parameters:\n Architecture: arm64\n JobName: build_windows_arm64_release\n - template: /.pipelines/templates/windows-hosted-build.yml@self\n parameters:\n Architecture: fxdependent\n JobName: build_windows_fxdependent_release\n - template: /.pipelines/templates/windows-hosted-build.yml@self\n parameters:\n Architecture: fxdependentWinDesktop\n JobName: build_windows_fxdependentWinDesktop_release\n\n - stage: test_and_release_artifacts\n displayName: Test and Release Artifacts\n dependsOn: ['prep']\n condition: and(succeeded(),eq('${{ parameters.RUN_TEST_AND_RELEASE }}','true'))\n jobs:\n - template: /.pipelines/templates/testartifacts.yml@self\n\n - job: release_json\n displayName: Create and Upload release.json\n pool:\n type: windows\n variables:\n - name: ob_outputDirectory\n value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT'\n - name: ob_sdl_tsa_configFile\n value: $(Build.SourcesDirectory)\PowerShell\.config\tsaoptions.json\n - name: ob_sdl_credscan_suppressionsFile\n value: $(Build.SourcesDirectory)\PowerShell\.config\suppress.json\n steps:\n - checkout: self\n clean: true\n - template: /.pipelines/templates/SetVersionVariables.yml@self\n parameters:\n ReleaseTagVar: $(ReleaseTagVar)\n - powershell: |\n $metadata = Get-Content '$(Build.SourcesDirectory)/PowerShell/tools/metadata.json' -Raw | ConvertFrom-Json\n $LTS = $metadata.LTSRelease.Package\n @{ ReleaseVersion = "$(Version)"; LTSRelease = $LTS } | ConvertTo-Json | Out-File "$(Build.StagingDirectory)\release.json"\n Get-Content "$(Build.StagingDirectory)\release.json"\n\n if (-not (Test-Path "$(ob_outputDirectory)\metadata")) {\n New-Item -ItemType Directory -Path "$(ob_outputDirectory)\metadata"\n }\n\n Copy-Item -Path "$(Build.StagingDirectory)\release.json" -Destination "$(ob_outputDirectory)\metadata" -Force\n displayName: Create and upload release.json file to build artifact\n retryCountOnTaskFailure: 2\n - template: /.pipelines/templates/step/finalize.yml@self\n
dataset_sample\yaml\PowerShell_PowerShell\.pipelines\PowerShell-Coordinated_Packages-Official.yml
PowerShell-Coordinated_Packages-Official.yml
YAML
10,476
0.95
0.013115
0.010714
vue-tools
565
2024-06-19T06:21:21.621336
MIT
false
548aa004f25dd6734d243471c810497e
trigger: none\n\nparameters: # parameters are shown up in ADO UI in a build queue time\n - name: ForceAzureBlobDelete\n displayName: Delete Azure Blob\n type: string\n values:\n - true\n - false\n default: false\n - name: 'debug'\n displayName: 'Enable debug output'\n type: boolean\n default: false\n - name: InternalSDKBlobURL\n displayName: URL to the blob having internal .NET SDK\n type: string\n default: ' '\n - name: ReleaseTagVar\n displayName: Release Tag\n type: string\n default: 'fromBranch'\n - name: SKIP_SIGNING\n displayName: Skip Signing\n type: string\n default: 'NO'\n \nname: pkgs-$(BUILD.SOURCEBRANCHNAME)-$(Build.BuildId)\n\nvariables:\n - name: CDP_DEFINITION_BUILD_COUNT\n value: $[counter('', 0)] # needed for onebranch.pipeline.version task\n - name: system.debug\n value: ${{ parameters.debug }}\n - name: ENABLE_PRS_DELAYSIGN\n value: 1\n - name: ROOT\n value: $(Build.SourcesDirectory)\n - name: ForceAzureBlobDelete\n value: ${{ parameters.ForceAzureBlobDelete }}\n - name: NUGET_XMLDOC_MODE\n value: none\n - name: nugetMultiFeedWarnLevel\n value: none\n - name: NugetSecurityAnalysisWarningLevel\n value: none\n - name: skipNugetSecurityAnalysis\n value: true\n - name: ReleaseTagVar\n value: ${{ parameters.ReleaseTagVar }}\n - name: ob_outputDirectory\n value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT'\n - name: WindowsContainerImage\n value: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest' # Docker image which is used to build the project\n - name: LinuxContainerImage\n value: mcr.microsoft.com/onebranch/cbl-mariner/build:2.0\n - group: mscodehub-feed-read-general\n - group: mscodehub-feed-read-akv\n - name: branchCounterKey\n value: $[format('{0:yyyyMMdd}-{1}', pipeline.startTime,variables['Build.SourceBranch'])]\n - name: branchCounter\n value: $[counter(variables['branchCounterKey'], 1)]\n\nresources:\n pipelines:\n - pipeline: CoOrdinatedBuildPipeline\n source: 'PowerShell-Coordinated Binaries-Official'\n trigger:\n branches:\n include:\n - master\n - releases/*\n\n repositories:\n - repository: templates\n type: git\n name: OneBranch.Pipelines/GovernedTemplates\n ref: refs/heads/main\n\nextends:\n template: v2/OneBranch.Official.CrossPlat.yml@templates\n parameters:\n cloudvault:\n enabled: false\n featureFlags:\n WindowsHostVersion:\n Version: 2022\n Network: KS3\n linuxEsrpSigning: true\n globalSdl:\n disableLegacyManifest: true\n # disabled Armorty as we dont have any ARM templates to scan. It fails on some sample ARM templates.\n armory:\n enabled: false\n sbom:\n enabled: true\n compiled:\n enabled: false\n credscan:\n enabled: true\n scanFolder: $(Build.SourcesDirectory)\n suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json\n cg:\n enabled: true\n ignoreDirectories: '.devcontainer,demos,docker,docs,src,test,tools/packaging'\n asyncSdl:\n enabled: true\n forStages: ['build']\n credscan:\n enabled: true\n scanFolder: $(Build.SourcesDirectory)\n suppressionsFile: $(Build.SourcesDirectory)\PowerShell\.config\suppress.json\n binskim:\n enabled: false\n # APIScan requires a non-Ready-To-Run build\n apiscan:\n enabled: false\n tsaOptionsFile: .config\tsaoptions.json\n stages:\n - stage: prep\n jobs:\n - template: /.pipelines/templates/checkAzureContainer.yml@self\n\n - stage: mac_package\n dependsOn: [prep]\n jobs:\n - template: /.pipelines/templates/mac-package-build.yml@self\n parameters:\n buildArchitecture: x64\n\n - template: /.pipelines/templates/mac-package-build.yml@self\n parameters:\n buildArchitecture: arm64\n\n - stage: windows_package\n dependsOn: [prep]\n jobs:\n - template: /.pipelines/templates/windows-package-build.yml@self\n parameters:\n runtime: x64\n\n - template: /.pipelines/templates/windows-package-build.yml@self\n parameters:\n runtime: arm64\n\n - template: /.pipelines/templates/windows-package-build.yml@self\n parameters:\n runtime: x86\n\n - template: /.pipelines/templates/windows-package-build.yml@self\n parameters:\n runtime: fxdependent\n\n - template: /.pipelines/templates/windows-package-build.yml@self\n parameters:\n runtime: fxdependentWinDesktop\n\n - template: /.pipelines/templates/windows-package-build.yml@self\n parameters:\n runtime: minsize\n\n - stage: linux_package\n dependsOn: [prep]\n jobs:\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_x64'\n signedDrop: 'drop_linux_sign_linux_x64'\n packageType: deb\n jobName: deb\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_fxd_x64_mariner'\n signedDrop: 'drop_linux_sign_linux_fxd_x64_mariner'\n packageType: rpm-fxdependent #mariner-x64\n jobName: mariner_x64\n signingProfile: 'CP-459159-pgpdetached'\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_fxd_arm64_mariner'\n signedDrop: 'drop_linux_sign_linux_fxd_arm64_mariner'\n packageType: rpm-fxdependent-arm64 #mariner-arm64\n jobName: mariner_arm64\n signingProfile: 'CP-459159-pgpdetached'\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_x64'\n signedDrop: 'drop_linux_sign_linux_x64'\n packageType: rpm\n jobName: rpm\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_arm'\n signedDrop: 'drop_linux_sign_linux_arm'\n packageType: tar-arm\n jobName: tar_arm\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_arm64'\n signedDrop: 'drop_linux_sign_linux_arm64'\n packageType: tar-arm64\n jobName: tar_arm64\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_x64_alpine'\n signedDrop: 'drop_linux_sign_linux_x64_alpine'\n packageType: tar-alpine\n jobName: tar_alpine\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_fxd'\n signedDrop: 'drop_linux_sign_linux_fxd'\n packageType: fxdependent\n jobName: fxdependent\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_x64'\n signedDrop: 'drop_linux_sign_linux_x64'\n packageType: tar\n jobName: tar\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_fxd_x64_alpine'\n signedDrop: 'drop_linux_sign_linux_fxd_x64_alpine'\n packageType: tar-alpine-fxdependent\n jobName: tar_alpine_fxd\n\n - template: /.pipelines/templates/linux-package-build.yml@self\n parameters:\n unsignedDrop: 'drop_linux_build_linux_x64_minSize'\n signedDrop: 'drop_linux_sign_linux_x64_minSize'\n packageType: min-size\n jobName: minSize\n\n - stage: nupkg\n dependsOn: [prep]\n jobs:\n - template: /.pipelines/templates/nupkg.yml@self\n\n - stage: upload\n dependsOn: [mac_package, windows_package, linux_package, nupkg]\n jobs:\n - template: /.pipelines/templates/uploadToAzure.yml@self\n
dataset_sample\yaml\PowerShell_PowerShell\.pipelines\PowerShell-Packages-Official.yml
PowerShell-Packages-Official.yml
YAML
8,075
0.95
0.003968
0.008889
react-lib
118
2024-08-12T05:38:05.779602
BSD-3-Clause
false
5db613b9950c12e7d1dbfda0dc9b1ac1
trigger: none\n\nparameters: # parameters are shown up in ADO UI in a build queue time\n - name: 'debug'\n displayName: 'Enable debug output'\n type: boolean\n default: false\n - name: skipPublish\n displayName: Skip PMC Publish\n type: boolean\n default: false\n - name: SKIP_SIGNING\n displayName: Skip Signing\n type: string\n default: 'NO'\n\nname: ev2-$(BUILD.SOURCEBRANCHNAME)-$(Build.BuildId)\n\nvariables:\n - name: CDP_DEFINITION_BUILD_COUNT\n value: $[counter('', 0)]\n - name: system.debug\n value: ${{ parameters.debug }}\n - name: ENABLE_PRS_DELAYSIGN\n value: 1\n - name: ROOT\n value: $(Build.SourcesDirectory)\n - name: REPOROOT\n value: $(Build.SourcesDirectory)\n - name: OUTPUTROOT\n value: $(REPOROOT)\out\n - name: NUGET_XMLDOC_MODE\n value: none\n - name: nugetMultiFeedWarnLevel\n value: none\n - name: NugetSecurityAnalysisWarningLevel\n value: none\n - name: skipNugetSecurityAnalysis\n value: true\n - name: ob_outputDirectory\n value: '$(Build.ArtifactStagingDirectory)/ONEBRANCH_ARTIFACT'\n - name: ob_sdl_tsa_configFile\n value: $(Build.SourcesDirectory)\.config\tsaoptions.json\n - name: WindowsContainerImage\n value: 'onebranch.azurecr.io/windows/ltsc2022/vse2022:latest'\n - name: LinuxContainerImage\n value: mcr.microsoft.com/onebranch/cbl-mariner/build:2.0\n - group: PoolNames\n\nresources:\n repositories:\n - repository: templates\n type: git\n name: OneBranch.Pipelines/GovernedTemplates\n ref: refs/heads/main\n\n pipelines:\n - pipeline: CoOrdinatedBuildPipeline\n source: 'PowerShell-Coordinated Binaries-Official'\n\n - pipeline: PSPackagesOfficial\n source: 'PowerShell-Packages-Official'\n trigger:\n branches:\n include:\n - master\n - releases/*\n\nextends:\n template: v2/OneBranch.Official.CrossPlat.yml@templates\n parameters:\n featureFlags:\n WindowsHostVersion:\n Version: 2022\n Network: Netlock\n linuxEsrpSigning: true\n cloudvault:\n enabled: false\n globalSdl:\n disableLegacyManifest: true\n # disabled Armory as we dont have any ARM templates to scan. It fails on some sample ARM templates.\n armory:\n enabled: false\n asyncSdl:\n enabled: true\n tsaOptionsFile: .config/tsaoptions.json\n tsa:\n enabled: true\n credscan:\n enabled: true\n scanFolder: $(Build.SourcesDirectory)\n suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json\n binskim:\n break: false # always break the build on binskim issues in addition to TSA upload\n policheck:\n break: true # always break the build on policheck issues. You can disable it by setting to 'false'\n tsaOptionsFile: .config\tsaoptions.json\n stages:\n - template: /.pipelines/templates/release-prep-for-ev2.yml@self\n parameters:\n skipPublish: ${{ parameters.skipPublish }}\n\n - template: /.pipelines/templates/release-publish-pmc.yml@self\n
dataset_sample\yaml\PowerShell_PowerShell\.pipelines\PowerShell-Release-Official-Azure.yml
PowerShell-Release-Official-Azure.yml
YAML
3,003
0.8
0.009709
0.010526
python-kit
975
2024-10-08T21:34:44.870611
Apache-2.0
false
0499fb0dc89a245ca4a10558d545a240