Skip to content

Commit

Permalink
Add automation to assist with scalable and efficient FAQ awareness (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpollock committed May 14, 2024
1 parent fc144b7 commit 1331436
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/issue-signposting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Add comments to specifically labeled issues
on:
issues:
types:
- labeled
jobs:
add-comment:
if: github.event.label.name == 'data quality'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment signposting to FAQ
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: >
:sparkles: Thank you for your interest in OSV.dev's data quality! :sparkles:
**Please review our [FAQ entry](https://google.github.io/osv.dev/faq/#ive-found-something-wrong-with-the-data) on how to most efficiently have this addressed.**

0 comments on commit 1331436

Please sign in to comment.