-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: format code with prettier (#1474)
* chore: set up prettier * style: format code with prettier ```sh npm run fmt ``` * chore(aqua): update aqua-checksums.json --------- Co-authored-by: suzuki-shunsuke-app[bot] <91834585+suzuki-shunsuke-app[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6296b6e
commit 766a6c6
Showing
53 changed files
with
842 additions
and
608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
packages: | ||
- name: rhysd/[email protected] | ||
- name: rhysd/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import * as fs from 'fs'; | ||
import * as fs from "fs"; | ||
|
||
const yaml = require('js-yaml'); | ||
const yaml = require("js-yaml"); | ||
|
||
interface Config { | ||
renovate_login: string | undefined | ||
skip_terraform_by_renovate: boolean | undefined | ||
renovate_terraform_labels: Array<string> | undefined | ||
renovate_login: string | undefined; | ||
skip_terraform_by_renovate: boolean | undefined; | ||
renovate_terraform_labels: Array<string> | undefined; | ||
} | ||
|
||
export function getConfig(): Config { | ||
let configFilePath = process.env.TFACTION_CONFIG; | ||
if (configFilePath == '' || configFilePath == undefined) { | ||
configFilePath = 'tfaction-root.yaml'; | ||
if (configFilePath == "" || configFilePath == undefined) { | ||
configFilePath = "tfaction-root.yaml"; | ||
} | ||
return yaml.load(fs.readFileSync(configFilePath, 'utf8')); | ||
return yaml.load(fs.readFileSync(configFilePath, "utf8")); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Exports AWS Secrets Manager's secrets as environment variables | ||
description: Exports AWS Secrets Manager's secrets as environment variables | ||
runs: | ||
using: 'node20' | ||
main: 'dist/index.js' | ||
using: "node20" | ||
main: "dist/index.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import * as core from '@actions/core'; | ||
import { run } from './run' | ||
import * as core from "@actions/core"; | ||
import { run } from "./run"; | ||
|
||
const main = async (): Promise<void> => { | ||
await run() | ||
} | ||
await run(); | ||
}; | ||
|
||
main().catch((e) => core.setFailed(e instanceof Error ? e.message : JSON.stringify(e))) | ||
main().catch((e) => | ||
core.setFailed(e instanceof Error ? e.message : JSON.stringify(e)), | ||
); |
Oops, something went wrong.