make sure action builds, also fix dependabot autoapprove

This commit is contained in:
Michael Lehmann
2025-04-22 16:20:34 -07:00
committed by kellertk
parent cd5db3dc55
commit fd26919f2e
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
name: Dependabot auto-approve name: Dependabot auto-approve
on: pull_request on:
pull_request:
workflow_dispatch:
permissions: permissions:
pull-requests: write pull-requests: write
id-token: write id-token: write
contents: read
jobs: jobs:
dependabot: dependabot:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -17,7 +21,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4 uses: aws-actions/configure-aws-credentials@v4
with: with:
aws-region: us-west-2 aws-region: us-west-2
role-to-assume: ${{ secrets.SECRETS_AWS_PACKAGING_ROLE_TO_ASSUME }} role-to-assume: arn:aws:iam::206735643321:role/ConfigureAwsCredentialsPackageRole
role-duration-seconds: 900 role-duration-seconds: 900
- name: Get bot user token - name: Get bot user token
uses: aws-actions/aws-secretsmanager-get-secrets@v2 uses: aws-actions/aws-secretsmanager-get-secrets@v2
+1 -1
View File
@@ -6,7 +6,7 @@
"build": "tsc", "build": "tsc",
"lint": "biome check --error-on-warnings ./src", "lint": "biome check --error-on-warnings ./src",
"package": "npm run build && ncc build --license THIRD-PARTY -o dist && ncc build src/cleanup/index.ts -o dist/cleanup && cpy dist/THIRD-PARTY . && del-cli dist/THIRD-PARTY", "package": "npm run build && ncc build --license THIRD-PARTY -o dist && ncc build src/cleanup/index.ts -o dist/cleanup && cpy dist/THIRD-PARTY . && del-cli dist/THIRD-PARTY",
"test": "npm run lint && vitest run" "test": "npm run lint && vitest run && npm run build"
}, },
"author": { "author": {
"name": "Amazon.com, Inc. or its affiliates", "name": "Amazon.com, Inc. or its affiliates",