Go to file
Julien Fastré 3e47a24f8d Allow to set a token from input (#1)
Reviewed-on: #1
Co-authored-by: Julien Fastré <julien.fastre@champs-libres.coop>
Co-committed-by: Julien Fastré <julien.fastre@champs-libres.coop>
2024-03-11 11:26:05 +00:00
.idea idea project settings 2024-02-20 18:04:24 +01:00
README.md Allow to set a token from input (#1) 2024-03-11 11:26:05 +00:00
action.yml Allow to set a token from input (#1) 2024-03-11 11:26:05 +00:00
go.mod Implementation of a gitea action to create a pull request 2024-03-11 09:33:15 +01:00
go.sum Implementation of a gitea action to create a pull request 2024-03-11 09:33:15 +01:00
main.go Allow to set a token from input (#1) 2024-03-11 11:26:05 +00:00

README.md

Gitea action to Create a Pull Request

Gitea action to create a pull request. This action is not github action compatible.

Inspired by https://github.com/peter-evans/create-pull-request, but without the ability to commit the changes.

Usage

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 
on: [push]

jobs:
  Explore-Gitea-Actions:
    runs-on: ubuntu-latest
    steps:
      - name: Setup Go
        uses: https://github.com/actions/setup-go@v5
        with:
          go-version: '1.22'
          
      # ... do something with your code
      
      

      - name: Use Go Action  
        id: use-go-action
        uses: https://gitea.champs-libres.be/julienfastre/action-create-pr@main
        with:
          assignees: julienfastre
          base: master
          labels: bug, invalid, something else