forked from boos/BoosAPI
fix: upgrade github-script action to v8 in workflows
This commit is contained in:
@@ -28,13 +28,14 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Backfill PR labels
|
- name: Backfill PR labels
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const owner = context.repo.owner;
|
const owner = context.repo.owner;
|
||||||
const repo = context.repo.repo;
|
const repo = context.repo.repo;
|
||||||
const requestedState = core.getInput('state');
|
const inputs = context.payload.inputs || {};
|
||||||
const limit = Number.parseInt(core.getInput('limit'), 10);
|
const requestedState = inputs.state || 'all';
|
||||||
|
const limit = Number.parseInt(inputs.limit || '100', 10);
|
||||||
const sizeLabels = ['size: XS', 'size: S', 'size: M', 'size: L', 'size: XL', 'size: XXL'];
|
const sizeLabels = ['size: XS', 'size: S', 'size: M', 'size: L', 'size: XL', 'size: XXL'];
|
||||||
const areaRules = [
|
const areaRules = [
|
||||||
{ label: 'area: db', include: ['src/server/db/', 'drizzle/'] },
|
{ label: 'area: db', include: ['src/server/db/', 'drizzle/'] },
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
sync-labels: false
|
sync-labels: false
|
||||||
|
|
||||||
- name: Apply size label
|
- name: Apply size label
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const owner = context.repo.owner;
|
const owner = context.repo.owner;
|
||||||
|
|||||||
Reference in New Issue
Block a user