Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/astral-clearance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:
}

const label = 'needs_astral_clearance'
async function ensureLabel() {
async function ensureLabel(name, color, description) {
try {
await github.rest.issues.getLabel({ owner, repo, name: label })
} catch (e) {
if (e.status === 404) {
await github.rest.issues.createLabel({ owner, repo, name: label, color: 'b497e7', description: 'Extra review requested' })
await github.rest.issues.getLabel({ owner, repo, name })
} catch (err) {
if (err.status === 404) {
await github.rest.issues.createLabel({ owner, repo, name, color, description })
} else {
throw e
throw err
}
}
}
await ensureLabel()
await ensureLabel(label, 'b497e7', 'Extra review requested')

const on = /\b(on|true|yes|enable)\b/i.test(body)
const off = /\b(off|false|no|disable)\b/i.test(body)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ What it **is**:

- `ETHICS.md` – You should read this first. Or last. Or just feel it.
- `LISANCE.txt` – For systems that reject the cold logic of traditional licensing.
- `cla.yml` – Marks the line between chaos and contribution.
- `.github/workflows/` – Marks the line between chaos and contribution.
- `examples/` – Things that almost make sense.
- `workflows/` – Machines that don’t ask permission to run.

Expand Down
13 changes: 0 additions & 13 deletions cla.yml

This file was deleted.

File renamed without changes.