Compare commits
	
		
			13 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| b6d1665137 | |||
| ffb3fb199a | |||
| fb3e46016f | |||
| 6217c5c7de | |||
| 720f156fa3 | |||
| 87e6a9f467 | |||
| 
						
						
							
						
						c73efa46a6
	
				 | 
					
					
						|||
| 
						
						
							
						
						c402be911d
	
				 | 
					
					
						|||
| 
						
						
							
						
						022e94a287
	
				 | 
					
					
						|||
| 
						
						
							
						
						cdaf88b6fe
	
				 | 
					
					
						|||
| 
						
						
							
						
						f902085dd0
	
				 | 
					
					
						|||
| 
						
						
							
						
						40fb6bf43a
	
				 | 
					
					
						|||
| 9e710ff8d0 | 
							
								
								
									
										14
									
								
								.gitea/workflows/conventional_commit.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.gitea/workflows/conventional_commit.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					name: Conventional Commit
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    types:
 | 
				
			||||||
 | 
					      - opened
 | 
				
			||||||
 | 
					      - edited
 | 
				
			||||||
 | 
					      - synchronize
 | 
				
			||||||
 | 
					      - reopened
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  validate_pr_title:
 | 
				
			||||||
 | 
					    uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/conventional-commit.yml@main
 | 
				
			||||||
 | 
					    with:
 | 
				
			||||||
 | 
					      commit_message: ${{ gitea.event.pull_request.title }}
 | 
				
			||||||
							
								
								
									
										20
									
								
								.gitea/workflows/release.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.gitea/workflows/release.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					name: Release
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  workflow_dispatch:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					      - main
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  create_release:
 | 
				
			||||||
 | 
					    name: Create Release
 | 
				
			||||||
 | 
					    uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/create-release.yml@main
 | 
				
			||||||
 | 
					    secrets:
 | 
				
			||||||
 | 
					      ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  print_release:
 | 
				
			||||||
 | 
					    name: Print Release
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    needs: create_release
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - run: echo "Created release ${{ needs.create_release.outputs.release_name }}."
 | 
				
			||||||
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							@@ -1,12 +1,9 @@
 | 
				
			|||||||
# Container image that runs your code
 | 
					FROM git.tainton.uk/repos/runner-ubuntu-custom:latest
 | 
				
			||||||
FROM alpine:3.21
 | 
					
 | 
				
			||||||
 | 
					LABEL maintainer="Luke Tainton <luke@tainton.uk>"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install python/pip
 | 
					 | 
				
			||||||
ENV PYTHONUNBUFFERED=1
 | 
					ENV PYTHONUNBUFFERED=1
 | 
				
			||||||
RUN apk add --update --no-cache python3 && \
 | 
					RUN pipx install conventional-pre-commit==4.3.0
 | 
				
			||||||
    ln -sf python3 /usr/bin/python && \
 | 
					 | 
				
			||||||
    python3 -m ensurepip && \
 | 
					 | 
				
			||||||
    pip3 install --no-cache --upgrade pip setuptools conventional-pre-commit
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Copies your code file from your action repository to the filesystem path `/` of the container
 | 
					# Copies your code file from your action repository to the filesystem path `/` of the container
 | 
				
			||||||
COPY entrypoint.sh /entrypoint.sh
 | 
					COPY entrypoint.sh /entrypoint.sh
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,7 +20,7 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@master
 | 
					      - uses: actions/checkout@master
 | 
				
			||||||
      - uses: https://git.tainton.uk/actions/conventional-commits-docker-action@v1.0.0
 | 
					      - uses: https://git.tainton.uk/actions/conventional-commits-check-action@v1.0.0
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          commit-message: ${{ github.event.pull_request.title }}
 | 
					          commit-message: ${{ github.event.pull_request.title }}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
@@ -36,7 +36,7 @@ jobs:
 | 
				
			|||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@master
 | 
					      - uses: actions/checkout@master
 | 
				
			||||||
      - uses: https://git.tainton.uk/actions/conventional-commits-docker-action@v1.0.0
 | 
					      - uses: https://git.tainton.uk/actions/conventional-commits-check-action@v1.0.0
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          commit-message: ${{ github.event.head_commit.message }}
 | 
					          commit-message: ${{ github.event.head_commit.message }}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,5 +3,5 @@
 | 
				
			|||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PRTITLE="$1"
 | 
					PRTITLE="$1"
 | 
				
			||||||
echo "PRTITLE" > /tmp/prtitle.txt
 | 
					echo "$PRTITLE" > /tmp/prtitle.txt
 | 
				
			||||||
conventional-pre-commit --no-color --force-scope --strict --verbose /tmp/prtitle.txt
 | 
					conventional-pre-commit --no-color --force-scope --strict --verbose /tmp/prtitle.txt
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										23
									
								
								renovate.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								renovate.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "assignAutomerge": true,
 | 
				
			||||||
 | 
					  "assigneesFromCodeOwners": true,
 | 
				
			||||||
 | 
					  "dependencyDashboardAutoclose": true,
 | 
				
			||||||
 | 
					  "extends": ["config:recommended", "docker:enableMajor"],
 | 
				
			||||||
 | 
					  "ignorePaths": ["**/.archive/**"],
 | 
				
			||||||
 | 
					  "labels": ["type/dependencies"],
 | 
				
			||||||
 | 
					  "platformCommit": "enabled",
 | 
				
			||||||
 | 
					  "rebaseWhen": "behind-base-branch",
 | 
				
			||||||
 | 
					  "rollbackPrs": true,
 | 
				
			||||||
 | 
					  "semanticCommits": "enabled",
 | 
				
			||||||
 | 
					  "semanticCommitScope": "deps",
 | 
				
			||||||
 | 
					  "semanticCommitType": "feat",
 | 
				
			||||||
 | 
					  "vulnerabilityAlerts": {
 | 
				
			||||||
 | 
					    "commitMessagePrefix": "[SECURITY] ",
 | 
				
			||||||
 | 
					    "enabled": true,
 | 
				
			||||||
 | 
					    "labels": ["security"],
 | 
				
			||||||
 | 
					    "prCreation": "immediate"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "lockFileMaintenance": {
 | 
				
			||||||
 | 
					    "enabled": true
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user