Compare commits
	
		
			22 Commits
		
	
	
		
			v0.0.1-alp
			...
			0d06204c03
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0d06204c03 | |||
| 3caedc0597 | |||
| a35568d34f | |||
| 46651742c2 | |||
| 
						
						
							
						
						6c411e72f0
	
				 | 
					
					
						|||
| 
						
						
							
						
						2b27c9ea53
	
				 | 
					
					
						|||
| 4fbcba9572 | |||
| e75c04c4d7 | |||
| 73d3fff9a0 | |||
| c538a189fe | |||
| 398e466c22 | |||
| f7b4ec7416 | |||
| 
						
						
							
						
						89614302bb
	
				 | 
					
					
						|||
| 
						
						
							
						
						e4ef8a6488
	
				 | 
					
					
						|||
| 
						
						
							
						
						aab30f3daf
	
				 | 
					
					
						|||
| 
						
						
							
						
						181aa038b7
	
				 | 
					
					
						|||
| 
						
						
							
						
						7539550ce7
	
				 | 
					
					
						|||
| 
						
						
							
						
						ee28c4cbc8
	
				 | 
					
					
						|||
| 
						
						
							
						
						b6eb1ee16c
	
				 | 
					
					
						|||
| 
						
						
							
						
						3bc4dc92f7
	
				 | 
					
					
						|||
| 
						
						
							
						
						915c76ce5f
	
				 | 
					
					
						|||
| 
						
						
							
						
						824c3c5d45
	
				 | 
					
					
						
							
								
								
									
										27
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -3,10 +3,27 @@ kind: pipeline
 | 
			
		||||
name: default
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  - name: print_secret
 | 
			
		||||
    image: python:3
 | 
			
		||||
    secrets: [secret]
 | 
			
		||||
    environment:
 | 
			
		||||
      SECRET:
 | 
			
		||||
        from_secret: secret
 | 
			
		||||
    commands:
 | 
			
		||||
      - python3 print_secret.py
 | 
			
		||||
 | 
			
		||||
  - name: print a not secret
 | 
			
		||||
    image: python:3
 | 
			
		||||
    environment:
 | 
			
		||||
      SECRET: "not secret"
 | 
			
		||||
    commands:
 | 
			
		||||
      - python3 print_secret.py
 | 
			
		||||
 | 
			
		||||
  - name: test
 | 
			
		||||
    image: python:3
 | 
			
		||||
    commands:
 | 
			
		||||
      - python3 test.py
 | 
			
		||||
 | 
			
		||||
  - name: gitea_release
 | 
			
		||||
    image: plugins/gitea-release
 | 
			
		||||
    settings:
 | 
			
		||||
@@ -21,11 +38,17 @@ steps:
 | 
			
		||||
        - md5
 | 
			
		||||
        - sha1
 | 
			
		||||
        - sha256
 | 
			
		||||
        - sha512
 | 
			
		||||
    when:
 | 
			
		||||
      event: tag
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        # ---
 | 
			
		||||
        # kind: secret
 | 
			
		||||
        # name: username
 | 
			
		||||
        # data: DfV0e3ycBlN36K0yfXwGd2LgVNzDe3+cWUlTAqyLtM17BUVdGg==
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
kind: signature
 | 
			
		||||
hmac: 8ea8fcd1aaabfde0e0c2b58b7afc59c6f84cebaeeb09f90d1454ef51aafe72d7
 | 
			
		||||
hmac: 8de9b4635dc566263df694f898ad3cf4536c1481aa5a03e004dc6d0a05a8fe69
 | 
			
		||||
 | 
			
		||||
...
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										60
									
								
								.gitea/ISSUE_TEMPLATE/form.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								.gitea/ISSUE_TEMPLATE/form.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,60 @@
 | 
			
		||||
name: Bug Report
 | 
			
		||||
about: File a bug report
 | 
			
		||||
title: "[Bug]: "
 | 
			
		||||
body:
 | 
			
		||||
  - type: markdown
 | 
			
		||||
    attributes:
 | 
			
		||||
      value: |
 | 
			
		||||
        Thanks for taking the time to fill out this bug report!
 | 
			
		||||
  - type: input
 | 
			
		||||
    id: contact
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Contact Details
 | 
			
		||||
      description: How can we get in touch with you if we need more info?
 | 
			
		||||
      placeholder: ex. email@example.com
 | 
			
		||||
    validations:
 | 
			
		||||
      required: false
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: what-happened
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: What happened?
 | 
			
		||||
      description: Also tell us, what did you expect to happen?
 | 
			
		||||
      placeholder: Tell us what you see!
 | 
			
		||||
      value: "A bug happened!"
 | 
			
		||||
    validations:
 | 
			
		||||
      required: true
 | 
			
		||||
  - type: dropdown
 | 
			
		||||
    id: version
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Version
 | 
			
		||||
      description: What version of our software are you running?
 | 
			
		||||
      options:
 | 
			
		||||
        - 1.0.2 (Default)
 | 
			
		||||
        - 1.0.3 (Edge)
 | 
			
		||||
    validations:
 | 
			
		||||
      required: true
 | 
			
		||||
  - type: dropdown
 | 
			
		||||
    id: browsers
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: What browsers are you seeing the problem on?
 | 
			
		||||
      multiple: true
 | 
			
		||||
      options:
 | 
			
		||||
        - Firefox
 | 
			
		||||
        - Chrome
 | 
			
		||||
        - Safari
 | 
			
		||||
        - Microsoft Edge
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: logs
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Relevant log output
 | 
			
		||||
      description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
 | 
			
		||||
      render: shell
 | 
			
		||||
  - type: checkboxes
 | 
			
		||||
    id: terms
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Code of Conduct
 | 
			
		||||
      description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
 | 
			
		||||
      options:
 | 
			
		||||
        - label: I agree to follow this project's Code of Conduct
 | 
			
		||||
          required: true
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										9
									
								
								.gitea/ISSUE_TEMPLATE/mt.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.gitea/ISSUE_TEMPLATE/mt.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
name: "Template Name"
 | 
			
		||||
about: "This template is for testing!"
 | 
			
		||||
title: "[TEST] "
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
This is the template!
 | 
			
		||||
							
								
								
									
										12
									
								
								.gitea/workflows/cron.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.gitea/workflows/cron.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
name: Gitea Actions Demo with cronjob 
 | 
			
		||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
    schedule:
 | 
			
		||||
        - cron: '@hourly'
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  Explore-Gitea-Actions:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event"
 | 
			
		||||
							
								
								
									
										21
									
								
								.gitea/workflows/demo.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.gitea/workflows/demo.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
name: Gitea Actions Demo
 | 
			
		||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 
 | 
			
		||||
on: [push]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  Explore-Gitea-Actions:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event. test 4"
 | 
			
		||||
      - run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
 | 
			
		||||
      - run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
 | 
			
		||||
      - name: Setup Go
 | 
			
		||||
        uses: https://github.com/actions/setup-go@v5
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: '1.22'
 | 
			
		||||
 | 
			
		||||
      - name: Use Go Action  
 | 
			
		||||
        id: use-go-action
 | 
			
		||||
        uses: https://gitea.champs-libres.be/julienfastre/action-create-pr@main
 | 
			
		||||
        with:
 | 
			
		||||
          username: foo
 | 
			
		||||
							
								
								
									
										60
									
								
								mt.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								mt.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,60 @@
 | 
			
		||||
name: Nouvelle commande chill
 | 
			
		||||
about: Gabarit lors de la commande d'un nouveau chill
 | 
			
		||||
title: "[Meta][Client] Installation chill "
 | 
			
		||||
body:
 | 
			
		||||
  - type: markdown
 | 
			
		||||
    attributes:
 | 
			
		||||
      value: |
 | 
			
		||||
        Thanks for taking the time to fill out this bug report!
 | 
			
		||||
  - type: input
 | 
			
		||||
    id: contact
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Contact Details
 | 
			
		||||
      description: How can we get in touch with you if we need more info?
 | 
			
		||||
      placeholder: ex. email@example.com
 | 
			
		||||
    validations:
 | 
			
		||||
      required: false
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: what-happened
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: What happened?
 | 
			
		||||
      description: Also tell us, what did you expect to happen?
 | 
			
		||||
      placeholder: Tell us what you see!
 | 
			
		||||
      value: "A bug happened!"
 | 
			
		||||
    validations:
 | 
			
		||||
      required: true
 | 
			
		||||
  - type: dropdown
 | 
			
		||||
    id: version
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Version
 | 
			
		||||
      description: What version of our software are you running?
 | 
			
		||||
      options:
 | 
			
		||||
        - 1.0.2 (Default)
 | 
			
		||||
        - 1.0.3 (Edge)
 | 
			
		||||
    validations:
 | 
			
		||||
      required: true
 | 
			
		||||
  - type: dropdown
 | 
			
		||||
    id: browsers
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: What browsers are you seeing the problem on?
 | 
			
		||||
      multiple: true
 | 
			
		||||
      options:
 | 
			
		||||
        - Firefox
 | 
			
		||||
        - Chrome
 | 
			
		||||
        - Safari
 | 
			
		||||
        - Microsoft Edge
 | 
			
		||||
  - type: textarea
 | 
			
		||||
    id: logs
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Relevant log output
 | 
			
		||||
      description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
 | 
			
		||||
      render: shell
 | 
			
		||||
  - type: checkboxes
 | 
			
		||||
    id: terms
 | 
			
		||||
    attributes:
 | 
			
		||||
      label: Code of Conduct
 | 
			
		||||
      description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com)
 | 
			
		||||
      options:
 | 
			
		||||
        - label: I agree to follow this project's Code of Conduct
 | 
			
		||||
          required: true
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								print_secret.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								print_secret.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
print(os.getenv('SECRET'))
 | 
			
		||||
		Reference in New Issue
	
	Block a user