This action uses the sourcehut todo API to add a ticket to a tracker. Its inteded use is to mirror new issues from github to sourcehut.
Title of the issue
Body of the issue
Username of the submitter
Account name of the tracker owner. Must be proceeded with "~"
Name of the tracker
OAuth Token for sr.ht
Label for mirrored ticket
- uses: athorp96/sourcehut_issue_mirror@master
with:
title: ${{ github.event.issue.title}
body: ${{ github.event.issue.body}}
submitter: ${{ github.event.issue.user.login }}
tracker-owner: "~your-sr.ht-username"
tracker-name: "my-app-tracker"
oauth-token: ${{ secrets.SRHT_OAUTH_TOKEN }}
label: ${{ github.event.repository.name }}