Skip to content

πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰ restore GH actions ongπŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰ #2

πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰ restore GH actions ongπŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰

πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰ restore GH actions ongπŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰πŸŽ‰ #2

Workflow file for this run

name: πŸ”₯ Rizz Check πŸ’―
on: [pull_request, pull_request_target, push, workflow_dispatch]
jobs:
check-rizz:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Rizz Check πŸ‘€
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
uses: actions/github-script@v7
with:
script: |
const slangWords = [
'fanum',
'ohio',
'rizz',
'rizzler',
'gyatt',
'ong',
'brain rot',
'skibidi',
'sigma',
'sus',
'noob',
'yeet',
'simp',
'og',
'mewing',
'aura',
'delulu',
'savage',
'pookie',
'chad alpha',
'mog',
'bruh',
'salty',
'ate',
'zang',
'bet',
'lit',
'low key',
'bop',
'ick',
'cringe',
'opp',
'twin',
'sheesh',
'vibe',
'bussin',
'glaze',
'dog water',
'slay',
'fam',
'yapping',
'yap',
'skibidi ohio rizz',
'skibidi rizz',
'what the sigma',
'fanum tax',
'negative aura',
'mad lit',
'just put the fries in the bag',
'hits different',
'cap',
'no cap',
'drip',
'flex',
'tea',
'goat',
'its giving'
];
try {
const title = context.payload.pull_request.title.toLowerCase();
const hasSlangWord = slangWords.some(word => title.includes(word.toLowerCase()));
if (!hasSlangWord) {
core.setFailed('❌ PR title has no rizz');
} else {
console.log(`βœ… PR title "${title}" is goated ong fr fr no cap`);
}
} catch (error) {
core.setFailed(`Error checking slang words: ${error.message}`);
}