From 25901b7ab65af659262e2720dc95aa895de326ea Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Wed, 3 Jun 2020 19:02:59 +0600 Subject: [PATCH] add actions configs --- .github/FUNDING.yml | 5 +++++ .github/labeler.yml | 3 +++ .github/workflows/greetings.yml | 13 +++++++++++++ .github/workflows/label.yml | 18 ++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/greetings.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..58ddeec --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,5 @@ +# These are supported funding model platforms + +patreon: InsanusMokrassar + +custom: ['https://paypal.me/InsanusMokrassar?locale.x=ru_RU'] diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..26df369 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +code: "**/*.kt" +gradle: "**/*.gradle" +markdown: "**/*.md" diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..febc30d --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,13 @@ +name: Greetings + +on: [pull_request, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Welcome with your first issue' + pr-message: 'Welcome with your first Pull Request' diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..be1ee46 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,18 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler/blob/master/README.md + +name: "Pull Request Labeler" +on: + - pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"