diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..01a3dafe37 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +/.github/workflows/ @Ash258 diff --git a/.github/workflows/issue_comment.yml b/.github/workflows/issue_comment.yml new file mode 100644 index 0000000000..7664899e5c --- /dev/null +++ b/.github/workflows/issue_comment.yml @@ -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 }} diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 0000000000..6bf050d92c --- /dev/null +++ b/.github/workflows/issues.yml @@ -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 }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000000..8bc76b1060 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -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 }}