-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from devilbox/release-0.9
Use include matrix
- Loading branch information
Showing
23 changed files
with
561 additions
and
566 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,8 @@ | ||
--- | ||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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 @@ | ||
# The labels in this file are automatically synced with the repository | ||
# using the micnncim/action-label-syncer action. | ||
--- | ||
- name: C-dependency | ||
color: 1abc9c | ||
description: "Category: Dependency" | ||
- name: PR-block | ||
color: 3498db | ||
description: "Pull Request: Do not merge" | ||
- name: PR-merge | ||
color: 3498db | ||
description: "Pull Request: Merge when ready" |
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,33 @@ | ||
--- | ||
name-template: '$RESOLVED_VERSION 🌈' | ||
tag-template: '$RESOLVED_VERSION' | ||
version-template: '$MAJOR.$MINOR' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🧰 Maintenance' | ||
label: 'chore' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'major' | ||
minor: | ||
labels: | ||
- 'minor' | ||
patch: | ||
labels: | ||
- 'patch' | ||
default: minor | ||
template: | | ||
## Changes | ||
$CHANGES |
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,39 @@ | ||
--- | ||
|
||
# ------------------------------------------------------------------------------------------------- | ||
# Job Name | ||
# ------------------------------------------------------------------------------------------------- | ||
name: build | ||
|
||
|
||
# ------------------------------------------------------------------------------------------------- | ||
# When to run | ||
# ------------------------------------------------------------------------------------------------- | ||
on: | ||
# Runs after merge to master and after tag creation | ||
push: | ||
branches: | ||
- master | ||
- release-* | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
|
||
# (1/2) Determine repository params | ||
params: | ||
uses: ./.github/workflows/params.yml | ||
|
||
# (2/2) Build | ||
docker: | ||
needs: [params] | ||
uses: devilbox/github-actions/.github/workflows/docker-name-version-arch.yml@master | ||
with: | ||
enabled: true | ||
can_deploy: true | ||
name: ${{ needs.params.outputs.name }} | ||
matrix: ${{ needs.params.outputs.matrix }} | ||
refs: ${{ needs.params.outputs.refs }} | ||
secrets: | ||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }} |
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,35 @@ | ||
--- | ||
|
||
# ------------------------------------------------------------------------------------------------- | ||
# Job Name | ||
# ------------------------------------------------------------------------------------------------- | ||
name: build | ||
|
||
|
||
# ------------------------------------------------------------------------------------------------- | ||
# When to run | ||
# ------------------------------------------------------------------------------------------------- | ||
on: | ||
# Runs on Pull Requests | ||
pull_request_target: | ||
|
||
|
||
jobs: | ||
|
||
# (1/2) Determine repository params | ||
params: | ||
uses: ./.github/workflows/params.yml | ||
|
||
# (2/2) Build | ||
docker: | ||
needs: [params] | ||
uses: devilbox/github-actions/.github/workflows/docker-name-version-arch.yml@master | ||
with: | ||
enabled: true | ||
can_deploy: false | ||
name: ${{ needs.params.outputs.name }} | ||
matrix: ${{ needs.params.outputs.matrix }} | ||
refs: ${{ needs.params.outputs.refs }} | ||
secrets: | ||
dockerhub_username: "" | ||
dockerhub_password: "" |
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,36 @@ | ||
--- | ||
|
||
# ------------------------------------------------------------------------------------------------- | ||
# Job Name | ||
# ------------------------------------------------------------------------------------------------- | ||
name: nightly | ||
|
||
|
||
# ------------------------------------------------------------------------------------------------- | ||
# When to run | ||
# ------------------------------------------------------------------------------------------------- | ||
on: | ||
# Runs daily | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
|
||
jobs: | ||
|
||
# (1/2) Determine repository params | ||
params: | ||
uses: ./.github/workflows/params.yml | ||
|
||
# (2/2) Build | ||
docker: | ||
needs: [params] | ||
uses: devilbox/github-actions/.github/workflows/docker-name-version-arch.yml@master | ||
with: | ||
enabled: true | ||
can_deploy: true | ||
name: ${{ needs.params.outputs.name }} | ||
matrix: ${{ needs.params.outputs.matrix }} | ||
refs: ${{ needs.params.outputs.refs }} | ||
secrets: | ||
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
dockerhub_password: ${{ secrets.DOCKERHUB_PASSWORD }} |
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
Oops, something went wrong.