This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial content for the project (#1)
- Loading branch information
Showing
43 changed files
with
2,887 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: "\U0001F41E Bug report" | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
> Before reporting a bug | ||
- [ ] Check the bug is reproducible. | ||
- [ ] Search for [existing issues](https://github.com/poloka/github_bot-ruby/issues). | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Execute command '...' | ||
2. 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. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. Mac, Windows] | ||
|
||
**Additional context** | ||
Add any other context about the problem here including a link to a repository demonstrating the reproducible issue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: GitHub Community Support | ||
url: https://github.com/poloka/github_bot-ruby/discussions | ||
about: Please ask and answer questions and propose new features. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: "\U0001F680 New Feature Request" | ||
about: Propose a new feature | ||
title: '' | ||
labels: feature | ||
assignees: '' | ||
|
||
--- | ||
|
||
**What problem are you trying to solve? Please describe.** | ||
> Eg. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**The ideal solution: What should the feature should do?** | ||
> A clear and concise description of what you want to happen. | ||
|
||
**If you have code or pseudo-code please provide:** | ||
|
||
<!-- Put your code examples here --> | ||
```ruby | ||
|
||
``` | ||
|
||
- [ ] Willing to submit a pull request to implement this feature? | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
|
||
Thank you for your contribution! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## Description of Changes | ||
<!--Describe (in detail) the changes in the pull request here.--> | ||
|
||
## Motivation and Context | ||
<!--Why is this change required? What problem does it solve? What does this add?--> | ||
|
||
## How Has This Been Tested? | ||
<!--Describe in detail how these changes have been tested (include environment/devices).--> | ||
|
||
## Type of change | ||
<!--Put an 'x' in all of the boxes that apply.--> | ||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
- [ ] Release activity | ||
|
||
## Checklist: | ||
<!--Put an 'x' in all of the boxes to assure following guidance.--> | ||
Following the [Contributing Guidelines][3] | ||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my own code | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] I have added tests that prove my fix is effective or that my feature works and they pass when merging upstream | ||
- [ ] I have added an entry to the [Changelog][2] accordingly | ||
- [ ] I have added my name to the [CONTRIBUTORS.md][1] | ||
- [ ] I have [squashed related commits][4] | ||
|
||
[1]: ./CONTRIBUTORS.md | ||
[2]: ./CHANGELOG.md | ||
[3]: ./CONTRIBUTING.md | ||
[4]: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
name: CD | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- 2.7 | ||
name: Ruby-${{matrix.ruby}} | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v2 | ||
- name: Setup ruby and bundle | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install dependencies | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Run tests | ||
run: bundle exec rspec | ||
- name: Run Rubocop | ||
run: bundle exec rubocop | ||
release: | ||
runs-on: ubuntu-latest | ||
name: Release to RubyGems | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install dependencies | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Publish to RubyGems | ||
run: | | ||
mkdir -p $HOME/.gem | ||
touch $HOME/.gem/credentials | ||
chmod 0600 $HOME/.gem/credentials | ||
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials | ||
gem build *.gemspec | ||
gem push *.gem | ||
env: | ||
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
#CI will run on all pushes and PRs to verify validity of the code | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: ['**'] | ||
pull_request: | ||
branches: ['main'] | ||
schedule: | ||
- cron: '0 1 * * SUN' | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: | ||
- 2.6 | ||
- 2.7 | ||
- 3.0 | ||
name: Ruby-${{matrix.ruby}} | ||
continue-on-error: ${{matrix.ruby == 'head'}} | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v2 | ||
- name: Setup ruby and bundle | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install dependencies | ||
run: bundle install --jobs 4 --retry 3 | ||
- name: Run tests | ||
run: bundle exec rspec | ||
- name: Run Rubocop | ||
run: bundle exec rubocop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.DS_Store | ||
*.gem | ||
*.rbc | ||
Gemfile.lock | ||
.config | ||
.bundle | ||
.yardoc | ||
_yardoc | ||
coverage | ||
doc | ||
lib/bundler/man | ||
pkg | ||
rdoc | ||
spec/reports | ||
test/tmp | ||
test/version_tmp | ||
tmp | ||
log/*.log | ||
coverage/ | ||
.idea | ||
spec/internal/log | ||
target | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--format documentation | ||
--color | ||
--require spec_helper | ||
--order random |
Oops, something went wrong.