ZAYA Secure OS #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment on new issues | |
on: | |
issues: | |
types: [opened, labeled] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
if: ${{ (github.event.action == 'opened' && contains(github.event.issue.labels.*.name, 'new landscape entry')) || (github.event.action == 'labeled' && github.event.label.name == 'new landscape entry') }} | |
steps: | |
- name: Add comment | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
Thank you for requesting a new entry to be added, @${{ github.event.issue.user.login }}! | |
Consider also adding this entry at [RISC-V Exchange](https://riscv.org/exchange/). |