From d65444f4c8499fdd3aa47d4dd1c09591db49b300 Mon Sep 17 00:00:00 2001 From: geff Date: Sat, 9 Dec 2023 13:44:35 +0800 Subject: [PATCH] Add github issue integration --- .github/workflows/sourcehut_integration.yml | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sourcehut_integration.yml diff --git a/.github/workflows/sourcehut_integration.yml b/.github/workflows/sourcehut_integration.yml new file mode 100644 index 0000000..78befeb --- /dev/null +++ b/.github/workflows/sourcehut_integration.yml @@ -0,0 +1,24 @@ +name: Sourcehut Issue Integration + +on: + issues: + types: + - opened + +jobs: + integrate_with_sourcehut: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Use athorp96/sourcehut_issue_mirror action + 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: "~geff" + tracker-name: "RSonic-Unpacker" + oauth-token: ${{ secrets.SRHT_OAUTH_TOKEN }} + label: ${{ github.event.repository.name }}