πππππ restore GH actions ongπππππ #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}`); | |
} |