mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Github actions
This commit is contained in:
4
.github/workflows/labeled.yml
vendored
4
.github/workflows/labeled.yml
vendored
@@ -33,7 +33,9 @@ jobs:
|
||||
run: |
|
||||
LABELS=$(bun scripts/read-issue.ts)
|
||||
echo "labels=$LABELS" >> $GITHUB_OUTPUT
|
||||
bun scripts/is-outdated.ts >> $GITHUB_OUTPUT
|
||||
|
||||
OUTDATED=$(bun scripts/is-outdated.ts)
|
||||
echo "$OUTDATED" >> $GITHUB_OUTPUT
|
||||
- name: Add labels
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
|
||||
@@ -53,10 +53,8 @@ for (const line of lines) {
|
||||
|
||||
if (Bun.semver.order(latest, version) === 1) {
|
||||
console.write(",outdated=" + version);
|
||||
console.write(",is-outdated=true\n");
|
||||
console.write(",is-outdated=true");
|
||||
process.exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
console.write("\n");
|
||||
|
||||
Reference in New Issue
Block a user