Skip to content

Commit

Permalink
auto gen in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 18, 2024
1 parent 5c700a4 commit 151c8c5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: autofix.ci # needed to securely identify the workflow
name: autofix.ci # needed to securely identify the workflow

on:
pull_request:
push:
branches: [ "main" ]
branches: ["main"]

permissions:
contents: read
Expand All @@ -19,8 +19,9 @@ jobs:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm run gen-drivers
- name: Fix lint issues
run: pnpm run lint:fix
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
with:
commit-message: 'chore: apply automated lint fixes'
commit-message: "chore: apply automated lint fixes"
3 changes: 1 addition & 2 deletions scripts/gen-drivers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ for (const entry of driverEntries) {
});
}

const genCode = /* ts */ `
// Auto-generated using scripts/gen-drivers.
const genCode = /* ts */ `// Auto-generated using scripts/gen-drivers.
// Do not manually edit!
${drivers
Expand Down
2 changes: 1 addition & 1 deletion src/_drivers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Auto-generated using scripts/gen-drivers.
// Do not manually edit!

import type { AzureAppConfigurationOptions as AzureAppConfigurationOptions } from "unstorage/drivers/azure-app-configuration";
import type { AzureCosmosOptions as AzureCosmosOptions } from "unstorage/drivers/azure-cosmos";
import type { AzureKeyVaultOptions as AzureKeyVaultOptions } from "unstorage/drivers/azure-key-vault";
Expand Down

0 comments on commit 151c8c5

Please sign in to comment.