diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4caa209 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: self-assign-bot + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: prow-github-actions + uses: jpmcb/prow-github-actions@v1.1.3 + env: + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/client/.github/CODEOWNERS b/client/.github/CODEOWNERS deleted file mode 100644 index 56c7ef3..0000000 --- a/client/.github/CODEOWNERS +++ /dev/null @@ -1,4 +0,0 @@ -# Github Prow Actions Codeowners - -# Global project owner -* @jpmcb diff --git a/client/.github/FUNDING.yml b/client/.github/FUNDING.yml deleted file mode 100644 index d1e726c..0000000 --- a/client/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: VamshiReddy02 diff --git a/client/.github/ISSUE_TEMPLATE/bug_report.md b/client/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index c11dce8..0000000 --- a/client/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: Bug report -about: Create a report to help improve Prow Github actions -title: "[BUG]" -labels: area/bug -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Using command '...' -2. With settings '...' -3. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Github repo** -If applicable, please link to the Github repo / issue that you saw the bug in - -**Logs** -If possible, please include logs from the Github actions runner job that failed - -**Additional info** -Add any other info that may be helpful diff --git a/client/.github/ISSUE_TEMPLATE/feature_request.md b/client/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bf6858e..0000000 --- a/client/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for Prow Github actions -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you'd like to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/client/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/client/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md deleted file mode 100644 index 602ef08..0000000 --- a/client/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +++ /dev/null @@ -1,23 +0,0 @@ -# Description - -Please include a summary of the change and what issue this will fix. -If there is no issue, please consider creating one! -Please also include any relevant motivation and context. - -Fixes # (issue) - -# Testing - -Please describe the tests that you ran, created, or modified in order to verify your changes. - -- [ ] Test A -- [ ] Test B - -# Checklist: - -- [ ] I ran `npm run all` to lint and build my code -- [ ] Note any new dependencies these changes bring in -- [ ] I have performed a self-review of my own code -- [ ] I have commented my code, particularly in hard-to-understand areas -- [ ] I have made corresponding changes to the documentation -- [ ] My changes generates no new warnings (please describe new warnings if unavoidable) diff --git a/client/.github/labels.yaml b/client/.github/labels.yaml deleted file mode 100644 index a8db383..0000000 --- a/client/.github/labels.yaml +++ /dev/null @@ -1,17 +0,0 @@ -area: - - 'bug' - - 'important' - -kind: - - 'failing-test' - - 'cleanup' - -priority: - - 'low' - - 'high' - -tests: - - '**/*.test.ts' - -source: - - 'src/**' diff --git a/client/.github/workflows/issueComment.yml b/client/.github/workflows/issueComment.yml deleted file mode 100644 index 6859985..0000000 --- a/client/.github/workflows/issueComment.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: "Test issue comments" -on: - issue_comment: - types: [created] - -jobs: - execute: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - run: npm install - - run: npm run build - - uses: ./ - with: - prow-commands: '/assign - /unassign - /approve - /retitle - /area - /kind - /priority - /remove - /lgtm - /close - /reopen - /lock - /milestone - /hold - /cc - /uncc' - github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/client/.github/workflows/lgtm-merger.yml b/client/.github/workflows/lgtm-merger.yml deleted file mode 100644 index a3c2174..0000000 --- a/client/.github/workflows/lgtm-merger.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: "Merge on lgtm label" -on: - schedule: - - cron: "*/20 * * * *" - -jobs: - execute: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - run: npm install - - run: npm run build - - uses: ./ - with: - jobs: 'lgtm' - github-token: "${{ secrets.GITHUB_TOKEN }}" - merge-method: 'squash' diff --git a/client/.github/workflows/onPr.yml b/client/.github/workflows/onPr.yml deleted file mode 100644 index 91b0c00..0000000 --- a/client/.github/workflows/onPr.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: "Run Jobs on PR" -on: pull_request - -jobs: - execute: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - run: npm install - - run: npm run build - - uses: ./ - with: - jobs: 'lgtm' - github-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/client/.github/workflows/prLabeler.yml b/client/.github/workflows/prLabeler.yml deleted file mode 100644 index d89f0a3..0000000 --- a/client/.github/workflows/prLabeler.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: "Label PRs from globs" -on: -- pull_request_target - -jobs: - triage: - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@main - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: .github/labels.yaml diff --git a/client/.github/workflows/stale.yml b/client/.github/workflows/stale.yml deleted file mode 100644 index 0ccc265..0000000 --- a/client/.github/workflows/stale.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Mark stale issues and pull requests - -on: - schedule: - - cron: "0 0 * * *" - -jobs: - stale: - - runs-on: ubuntu-latest - - steps: - - uses: actions/stale@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'Issue is stale' - stale-pr-message: 'Pull req is stale' - stale-issue-label: 'no-issue-activity' - stale-pr-label: 'no-pr-activity' diff --git a/client/.github/workflows/test.yml b/client/.github/workflows/test.yml deleted file mode 100644 index ed18742..0000000 --- a/client/.github/workflows/test.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: "Build and test code" -on: [push, pull_request] - -jobs: - build-test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - run: | - npm install - npm run build \ No newline at end of file