afc163
2 years ago
committed by
GitHub
2 changed files with 36 additions and 22 deletions
@ -1,22 +0,0 @@ |
|||
name: Issues Similarity Analysis |
|||
|
|||
on: |
|||
issues: |
|||
types: [opened, edited] |
|||
|
|||
permissions: |
|||
contents: read |
|||
|
|||
jobs: |
|||
similarity-analysis: |
|||
permissions: |
|||
issues: write # for actions-cool/issues-similarity-analysis to create issue comments |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- name: analysis |
|||
uses: actions-cool/issues-similarity-analysis@v1 |
|||
with: |
|||
filter-threshold: 0.5 |
|||
title-excludes: '' |
|||
comment-title: '### You may look for issues:' |
|||
comment-body: '${index}. ${similarity} #${number}' |
@ -0,0 +1,36 @@ |
|||
name: Memer Workflow |
|||
|
|||
on: [pull_request] |
|||
|
|||
jobs: |
|||
greeting: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/checkout@master |
|||
- name: Run Memer Action |
|||
id: memer |
|||
|
|||
uses: Bhupesh-V/memer-action@master |
|||
with: |
|||
filter: "new" |
|||
|
|||
- name: Check Outputs |
|||
run: | |
|||
echo "${{ steps.memer.outputs.meme }}" |
|||
echo "${{ steps.memer.outputs.title }}" |
|||
echo "${{ steps.memer.outputs.source }}" |
|||
|
|||
- name: Create comment |
|||
uses: peter-evans/create-or-update-comment@v1.3.0 |
|||
id: couc |
|||
with: |
|||
issue-number: ${{ github.event.number }} |
|||
body: | |
|||
🎉🎉 Thanks for opening this PR 🤗 |
|||
Please wait while the maintainer(s) review it |
|||
|
|||
Meanwhile have a look at this 😝 : |
|||
|
|||
> **${{ steps.memer.outputs.title }}** |
|||
![meme](${{ steps.memer.outputs.meme }}) |
|||
<sub>ℹ️ <a href="${{ steps.memer.outputs.source }}">Source</a> [ Powered By 🔥 <a href="https://github.com/Bhupesh-V/memer-action">Memer Action</a> ]</sub> |
Loading…
Reference in new issue