Create a new PR on Gitea using Gitea Actions.
This action recipe requires a token with the following permissions:
issue: read
repository: write
user: read
Required URL to the Gitea instance
Required Personal access token to the Gitea instance
Tea CLI version (Default: 0.9.2)
Issues label for the PR
User to assign the PR to
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 }}