mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-07-04 20:52:50 +08:00
Compare commits
No commits in common. "3c795f9eb1db588146398cd8e4ab0fe98e0f92db" and "ee4dc33d0f6c66407f233bfe32c711364c760046" have entirely different histories.
3c795f9eb1
...
ee4dc33d0f
2
.github/workflows/__shared-ci.yml
vendored
2
.github/workflows/__shared-ci.yml
vendored
@ -7,7 +7,7 @@ permissions: {}
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linter:
|
linter:
|
||||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@4b53189212d5810f710bed89711002626977215b # 0.33.0
|
uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@f5847cb398fe65d53794e6aba98ebdfa0801f691 # 0.32.0
|
||||||
permissions:
|
permissions:
|
||||||
actions: read
|
actions: read
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
@ -10,7 +10,7 @@ permissions: {}
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
greetings:
|
greetings:
|
||||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@4b53189212d5810f710bed89711002626977215b # 0.33.0
|
uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@f5847cb398fe65d53794e6aba98ebdfa0801f691 # 0.32.0
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
issues: write
|
issues: write
|
||||||
|
|||||||
2
.github/workflows/main-ci.yml
vendored
2
.github/workflows/main-ci.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
|||||||
app-id: ${{ vars.CI_BOT_APP_ID }}
|
app-id: ${{ vars.CI_BOT_APP_ID }}
|
||||||
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
|
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
|
||||||
|
|
||||||
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@4b53189212d5810f710bed89711002626977215b # 0.33.0
|
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@f5847cb398fe65d53794e6aba98ebdfa0801f691 # 0.32.0
|
||||||
with:
|
with:
|
||||||
github-token: ${{ steps.generate-token.outputs.token }}
|
github-token: ${{ steps.generate-token.outputs.token }}
|
||||||
branch: docs/actions-workflows-documentation-update
|
branch: docs/actions-workflows-documentation-update
|
||||||
|
|||||||
2
.github/workflows/need-fix-to-issue.yml
vendored
2
.github/workflows/need-fix-to-issue.yml
vendored
@ -19,7 +19,7 @@ permissions: {}
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@4b53189212d5810f710bed89711002626977215b # 0.33.0
|
uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@f5847cb398fe65d53794e6aba98ebdfa0801f691 # 0.32.0
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
issues: write
|
issues: write
|
||||||
|
|||||||
2
.github/workflows/semantic-pull-request.yml
vendored
2
.github/workflows/semantic-pull-request.yml
vendored
@ -11,7 +11,7 @@ permissions: {}
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@4b53189212d5810f710bed89711002626977215b # 0.33.0
|
uses: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml@f5847cb398fe65d53794e6aba98ebdfa0801f691 # 0.32.0
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|||||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@ -8,7 +8,7 @@ permissions: {}
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
main:
|
main:
|
||||||
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@4b53189212d5810f710bed89711002626977215b # 0.33.0
|
uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@f5847cb398fe65d53794e6aba98ebdfa0801f691 # 0.32.0
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ lint-fix: ## Execute linting and fix
|
|||||||
|
|
||||||
ci: ## Execute all formats and checks
|
ci: ## Execute all formats and checks
|
||||||
@npm install
|
@npm install
|
||||||
@npm audit fix || true
|
@npm audit fix
|
||||||
@npm run all
|
@npm run all
|
||||||
$(MAKE) lint-fix
|
$(MAKE) lint-fix
|
||||||
|
|
||||||
|
|||||||
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
@ -996,9 +996,6 @@ const composeOptionsToArgs = (composeOptions) => {
|
|||||||
* Executes docker compose command with common options
|
* Executes docker compose command with common options
|
||||||
*/
|
*/
|
||||||
const execCompose = (command, args, options = {}) => new Promise((resolve, reject) => {
|
const execCompose = (command, args, options = {}) => new Promise((resolve, reject) => {
|
||||||
if (options.compose) {
|
|
||||||
options.configAsString = yaml_1.default.stringify(options.compose);
|
|
||||||
}
|
|
||||||
const composeOptions = options.composeOptions || [];
|
const composeOptions = options.composeOptions || [];
|
||||||
const commandOptions = options.commandOptions || [];
|
const commandOptions = options.commandOptions || [];
|
||||||
let composeArgs = composeOptionsToArgs(composeOptions);
|
let composeArgs = composeOptionsToArgs(composeOptions);
|
||||||
|
|||||||
3
dist/post.js
generated
vendored
3
dist/post.js
generated
vendored
@ -153,9 +153,6 @@ const composeOptionsToArgs = (composeOptions) => {
|
|||||||
* Executes docker compose command with common options
|
* Executes docker compose command with common options
|
||||||
*/
|
*/
|
||||||
const execCompose = (command, args, options = {}) => new Promise((resolve, reject) => {
|
const execCompose = (command, args, options = {}) => new Promise((resolve, reject) => {
|
||||||
if (options.compose) {
|
|
||||||
options.configAsString = yaml_1.default.stringify(options.compose);
|
|
||||||
}
|
|
||||||
const composeOptions = options.composeOptions || [];
|
const composeOptions = options.composeOptions || [];
|
||||||
const commandOptions = options.commandOptions || [];
|
const commandOptions = options.commandOptions || [];
|
||||||
let composeArgs = composeOptionsToArgs(composeOptions);
|
let composeArgs = composeOptionsToArgs(composeOptions);
|
||||||
|
|||||||
1280
package-lock.json
generated
1280
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -29,10 +29,10 @@
|
|||||||
"@actions/github": "^9.0.0",
|
"@actions/github": "^9.0.0",
|
||||||
"@actions/tool-cache": "^4.0.0",
|
"@actions/tool-cache": "^4.0.0",
|
||||||
"@octokit/action": "^8.0.4",
|
"@octokit/action": "^8.0.4",
|
||||||
"docker-compose": "^1.4.2"
|
"docker-compose": "^1.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ts-dev-tools/core": "^1.12.0",
|
"@ts-dev-tools/core": "^1.11.1",
|
||||||
"@vercel/ncc": "^0.38.4",
|
"@vercel/ncc": "^0.38.4",
|
||||||
"eslint-plugin-github": "^6.0.0",
|
"eslint-plugin-github": "^6.0.0",
|
||||||
"eslint-plugin-jsonc": "^3.1.2"
|
"eslint-plugin-jsonc": "^3.1.2"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user