Coder Social home page Coder Social logo

gitea-pr-action's Introduction

Gitea Action - Auto-PR

https://img.shields.io/badge/license-GPL_3-green.svg https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg

Create a new PR on Gitea using Gitea Actions.

Requirements

This action recipe requires a token with the following permissions:

issue: read
repository: write
user: read

Inputs

url

Required URL to the Gitea instance

token

Required Personal access token to the Gitea instance

tea-version

Tea CLI version (Default: 0.9.2)

pr-label

Issues label for the PR

assignee

User to assign the PR to

Example

A workflow to checkout repositories on the bump/* branches and create PRs to the Gitea server hosted on https://git.domain.tld, using v0.9.2 of the tea CLI would look something like the following:

---
name: Create PR

on:
  workflow_dispatch:
  push:
    branches:
      - bump/*

jobs:
  create-bump-pr:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v2

      - name: Create PR
        uses: arifer612/Gitea-PR-action@v1
        with:
          url: https://git.domain.tld
          token: abcdefghijklmnopqrstuvwxyz
          tea-version: 0.9.2
          pr-label: bump
          assignee: ${{ github.actor }}

gitea-pr-action's People

Contributors

arifer612 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.