Skip to content

Commit

Permalink
ci: contributor guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Mar 12, 2024
1 parent 5590cd4 commit 5781af4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/contributor-advice.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Contributor advice

on:
push:
pull_request:

jobs:
fork-detection:
runs-on: ubuntu-latest
permissions:
issues: write
# When a fork
# if: github.event.pull_request.head.repo.full_name != github.repository && github.actor != 'dependabot[bot]'
steps:
- name: Add contributor advice
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: 5057
token: ${{ secrets.LEATHER_BOT }}
body: |
Thanks for contributing to Leather! Our team will review your PR and get back to you as soon as possible.
Please make sure to follow our [Contributor Guidelines][1]
[1]: https://github.com/leather-wallet/extension/tree/dev/.github/CONTRIBUTING.md
- name: Add label
run: gh issue edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: 5057
# NUMBER: ${{ github.event.issue.number }}
LABELS: triage

0 comments on commit 5781af4

Please sign in to comment.