Skip to content

Commit 3f607bf

Browse files
authored
Rick roll triagers on/near April 1st (#184355)
Triagers use this script to open all GitHub issues/PRs in new tabs. When the date is near April Fool's Day, then one of the tabs will be the rick roll video. ## Open questions * Does anyone still use this script or am I mostly rickrolling myself? Lots of people using AI for triage now. * Currently this will rick roll people +/- 1 week from April Fool's Day. Is that too much? * Should I be disciplined for wasting company resources by submitting this PR?
1 parent 6689c79 commit 3f607bf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/triage/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ for (url in urls) {
206206
}
207207

208208
targets.forEach((target) => window.open(target));
209+
function isNearAprilFools(){const e=new Date;e.setHours(0,0,0,0);const t=e.getFullYear(),n=new Date(t,3,1);return Math.abs(e-n)/864e5<=7}
210+
if (isNearAprilFools()) {
211+
window.open('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
212+
}
209213
```
210214

211215
</details>

0 commit comments

Comments
 (0)