Skip to content

Commit

Permalink
Merge pull request #1148 from SPAAM-community/jfy133-patch-1
Browse files Browse the repository at this point in the history
Create autofill.yml
  • Loading branch information
jfy133 authored Mar 15, 2024
2 parents ff630b3 + e2e5765 commit 5f44f72
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/autofill.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Prepare autofilled template for library metadata
on:
issue_comment:
types: [created]

jobs:
deploy:
# Only run if comment is on a PR with the main repo, and if it contains the magic keywords
if: >
contains(github.event.comment.html_url, '/pull/') &&
startsWith(github.event.comment.body, '@spaam-bot please autofill') &&
github.repository == 'SPAAM-community/AncientMetagenomeDir'
runs-on: ubuntu-latest
steps:
# indication that the process has started
- name: React on comment
uses: peter-evans/create-or-update-comment@v2
with:
comment-id: ${{ github.event.comment.id }}
reactions: eyes
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5f44f72

Please sign in to comment.