Browse Source

feat(github): Present GithubActions (#3061)

* Actions

* Update CODEOWNERS

* Change email
pull/3647/head
Jakub Čábera 4 months ago
parent
commit
49d7e1ce1f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions
  1. +1
    -0
      .github/CODEOWNERS
  2. +16
    -0
      .github/workflows/issue_comment.yml
  3. +16
    -0
      .github/workflows/issues.yml
  4. +15
    -0
      .github/workflows/pull_request.yml

+ 1
- 0
.github/CODEOWNERS View File

@@ -0,0 +1 @@
/.github/workflows/ @Ash258

+ 16
- 0
.github/workflows/issue_comment.yml View File

@@ -0,0 +1,16 @@
on:
issue_comment:
types: [ created ]
name: Commented Pull Request
jobs:
pullRequestHandler:
name: PullRequestHandler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PullRequestHandler
uses: Ash258/Scoop-GithubActions@stable
if: startsWith(github.event.comment.body, '/verify')
env:
GITH_EMAIL: cabera.jakub@gmail.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

+ 16
- 0
.github/workflows/issues.yml View File

@@ -0,0 +1,16 @@
on:
issues:
types: [ opened, labeled ]
name: Issues
jobs:
issueHandler:
name: IssueHandler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: IssueHandler
uses: Ash258/Scoop-GithubActions@stable
if: github.event.action == 'opened' || (github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'verify'))
env:
GITH_EMAIL: cabera.jakub@gmail.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

+ 15
- 0
.github/workflows/pull_request.yml View File

@@ -0,0 +1,15 @@
on:
pull_request:
types: [ opened ]
name: Pull Requests
jobs:
pullRequestHandler:
name: PullRequestHandler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PullRequestHandler
uses: Ash258/Scoop-GithubActions@stable
env:
GITH_EMAIL: cabera.jakub@gmail.com
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save