Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.24 KB

Redmine Integration

GitHub Action for updating Redmine issue with GitHub pull request link.

When GitHub pull request created with Redmine issue link, this action update target Redmine issue by adding notes with link to the pull request. The note looks like below:

pull request <pull_requeta_title> <action>

<pull_request_title> is your pull request title and link to the pull request, and <action> is opended, closed or reopended depends on the status on your pull request.

Usage

name: update Redmine issue
on:
  pull_requests:
    types: [opened, closed, reopened]

jobs:
  action:
    runs-on: ubuntu-latest
    steps:
      - uses: thaim/redmine-integration-action@main
        with:
          redmine_host: ${{ secrets.REDMINE_HOST }}
          redmine_apikey: ${{ secrets.REDMINE_API_KEY}}

Settings

Setup your Redmine enabling REST API. Register your Redmine api key as REDMINE_API_KEY and your Redmine URL as REDMINE_HOST in GitHub secrets.

Be sure that your REDMINE_HOST contains protocol such as https://redmine.example.com.