Skip to content

.github/workflows/issue-handler.yml #534

.github/workflows/issue-handler.yml

.github/workflows/issue-handler.yml #534

Workflow file for this run

on:
issues:
types: [opened, edited]
permissions:
issues: read
contents: read
jobs:
first-interaction:
name: First Interaction
runs-on: ubuntu-latest
steps:
- uses: jamestrousdale/[email protected]
id: gen
with:
app-id: '363587'
private-key: ${{ secrets.APP_KEY }}
- uses: actions/[email protected]
with:
repo-token: ${{ steps.gen.outputs.access-token }}
issue-message: |-
Hello @${{github.actor}} :wave:
We really appreciate you taking the time to report this issue, please double check your issue to make sure you are clear and concise in your description. This will help us to help you as quickly as possible.
We'd like to ask you be patient and we will get back to you as soon as we can.
In the meantime, take a look at our [FAQs](https://github.com/ciderapp/Cider-2/tree/main?tab=readme-ov-file#faq) which may answer your question.
Thanks again and we hope you enjoy the app! :smiley:
label-component:
name: Automatically Label Issue
runs-on: ubuntu-latest
steps:
- uses: jamestrousdale/[email protected]
id: gen
with:
app-id: '363587'
private-key: ${{ secrets.APP_KEY }}
- uses: actions/[email protected]
- name: Parse issue form
uses: stefanbuck/[email protected]
id: issue-parser
with:
template-path: .github/ISSUE_TEMPLATE/bug.yml
- name: Set the Labels
uses: redhat-plumbers-in-action/[email protected]
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
token: ${{ steps.gen.outputs.access-token }}
add-to-project:
name: Add Issue to Project
runs-on: ubuntu-latest
steps:
- uses: jamestrousdale/[email protected]
id: gen
with:
app-id: '363587'
private-key: ${{ secrets.APP_KEY }}
- run: gh issue edit "$NUMBER" --add-project "Cider - Bug Reports"
env:
GH_TOKEN: ${{ steps.gen.outputs.access-token }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}