Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@

# Include
!LICENSE
!README.md
!entrypoint.sh
!Dockerfile
!README.md
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# EditorConfig helps developers define and maintain consistent coding styles
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: github-actions
directory: "/"
directory: /
schedule:
interval: daily
assignees:
Expand All @@ -12,7 +12,7 @@ updates:

# Enable version updates for Docker
- package-ecosystem: docker
directory: "/"
directory: /
schedule:
interval: daily
assignees:
Expand All @@ -22,7 +22,7 @@ updates:

# # Enable version updates for pip
# - package-ecosystem: pip
# directory: "/"
# directory: /
# schedule:
# interval: daily
# assignees:
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/CRON.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/PUSH-MASTER.yml

This file was deleted.

135 changes: 0 additions & 135 deletions .github/workflows/PUSH-OTHER.yml

This file was deleted.

88 changes: 88 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Pull Request

on:
push:
branches-ignore:
- master
- dependabot/**

permissions:
contents: read
packages: write
pull-requests: write

jobs:
lint:
name: Lint
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
fetch-tags: true

- name: Install Task
uses: arduino/setup-task@v2.0.0
with:
version: 3.x

- name: Run linters
run: task lint

build-and-push:
name: Build and Push test
needs: [lint]
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
fetch-tags: true

- name: Install Task
uses: arduino/setup-task@v2.0.0
with:
version: 3.x

- name: Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true

- name: QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:latest
platforms: amd64,arm64

- name: Build and push test image
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: task docker:push

pull-request:
name: Pull Request
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
fetch-tags: true

- name: Template
shell: bash
run: |
mkdir -p .tmp
curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/PULL_REQUEST_TEMPLATE.md -o .tmp/PULL_REQUEST_TEMPLATE.md

- name: Create Pull Request
uses: devops-infra/action-pull-request@v0.6
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
template: .tmp/PULL_REQUEST_TEMPLATE.md
get_diff: true
Loading