Commit Graph

85 Commits

Author SHA1 Message Date
Juanito Fatas 403bb8714a Save few seconds on every build
Install bundler takes about 7-8s and without installing documentations
takes about 3-4s
2020-02-02 22:05:43 +09:00
Rodrigo Ramírez Norambuena 2550679621 Use --assume-yes to install the dependencies for Github's workflows:
This could prevent not install if require a confirmation action on
system were is run the workflow.
2020-01-18 22:07:52 -03:00
Rafael Mendonça França d2e21d07a4
Install bundler instead of trying to upgrade Ruby
Ruby 2.7 is not available yet.
2019-12-27 11:50:47 -03:00
Rafael Mendonça França ea287ad835
Upgrade Ruby in the github actions 2019-12-27 11:46:57 -03:00
Sean C. Sullivan 0358607d5a github actions checkout v2 2019-12-21 20:47:02 -08:00
Rafael Mendonça França 01957ede09
Also close PRs with no activity over 3 months 2019-12-17 13:40:10 -03:00
Yasuo Honda 2dc2876965
Revert "Workaroud to address apt-get update at GitHub Actions" 2019-12-14 08:20:00 +09:00
Yasuo Honda 2b15fbf5ed Workaroud to address apt-get update at GitHub Actions
https://github.com/rails/rails/pull/37950/checks?check_run_id=346759027

```
Reading package lists...
W: Conflicting distribution: https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease (expected bionic but got stable)
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Origin' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Label' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Suite' value from 'bionic' to 'stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Codename' value from 'bionic' to 'stable'
W: Conflicting distribution: https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease (expected xenial but got stable)
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Origin' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Label' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Suite' value from 'xenial' to 'stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Codename' value from 'xenial' to 'stable'
```

Refer:
https://github.community/t5/GitHub-Actions/ubuntu-latest-Apt-repository-list-issues/td-p/41122/page/2
3842b0b8a1
2019-12-13 18:14:02 +09:00
Rafael Mendonça França c12814173f
Add myself of codeowner of the rubocop config 2019-12-09 12:42:06 -03:00
Yasuo Honda 4ba2a9b65e Easy to show `bundle exec rubocop` output at Action
When pull requests have RuboCop offenses they need to click
"Build and run RuboCop" section and scroll about 200 lines
to skip `bundle install` output.

This change splits "Build and run RuboCop" into two parts.
then "Run RuboCop" section only shows `bundle exec rubocop --parallel`
output
2019-11-27 00:17:34 +00:00
yuuji.yaginuma b120110a52 Update packages before install
Without it, it seems to be an error trying to install an older version.
Ref: ea303d012e/checks?check_suite_id=321223550#step:4:29
2019-11-21 09:01:29 +09:00
Yasuo Honda c3b300611f Bump GitHub Action cache version from preview to v1
Refer https://github.com/actions/cache/pull/51/
2019-11-16 10:52:59 +09:00
Yasuo Honda 55f9c8a147 Cache gems for GitHub Actions
Follows up #37582

GitHub Actions cache requires `path:` parameter to configure
which directory to be cached. It looks there is no easy way to retrieve path information
using bundler command then workaround implemented to use `vendor/bundle`.

Thanks to https://github.com/actions/cache/pull/4
2019-10-31 23:43:17 +00:00
Yasuo Honda ce9a220fdc Enabled GitHub Actions to run the latest RuboCop 0.76.0
Updated the default Ruby workflow:

* Trigger this action for pull request and push
* Install requried OS packages for Active Record connection adapters
* Removing `gem install bundler` because Ruby 2.6 already installs it
* Run RuboCop in parallel by `bundle exec rubocop --parallel`
* Rename `ruby.yml` to `rubocop.yml` to represent the workflow

Bump RuboCop to 0.76.0 and rename `Style/UnneededPercentQ` to `Style/RedundantPercentQ`

```ruby
$ bundle exec rubocop
Error: The `Style/UnneededPercentQ` cop has been renamed to `Style/RedundantPercentQ`.
(obsolete configuration found in .rubocop.yml
```

Removed `.codeclimate.yml`
2019-10-30 23:21:09 +00:00
Grey Baker b37a2d53e1 Add SECURITY.md file, linking to security policy 2019-10-07 10:32:08 +01:00
Eugene Kenny 165753163c Update stale issue comment to mention 6-0-stable
6-0-stable is the release series that currently receives bug fixes.
2019-08-28 10:56:10 +01:00
Abhay Nikam 476abd403b Updated links from http to https in guides, docs, etc 2019-03-09 16:43:47 +05:30
George Claghorn 76c02013ad Label Action Text PRs [ci skip] 2019-01-04 23:48:30 -05:00
George Claghorn 3ecb754786 Label Action Mailbox PRs 2018-12-28 12:15:42 -05:00
jacobherrington dc27efccdd Add comments to markdown templates 2018-11-18 14:37:53 -06:00
Esquith Allen 7da3043382 Changed wording for no-response documentation 2018-10-20 00:49:49 -04:00
Gannon McGibbon b3b0224922 Remove some autolabeling globs
[ci skip]
2018-10-05 14:44:05 -04:00
Rafael França 6b9cc6fee1
Merge pull request #34007 from gmcgibbon/automatic_labeling
Add probot autolabeler config
2018-09-27 20:30:59 -04:00
Rafael França 5098d198de
Add configuration to no-response probot plugin
[ci skip]
2018-09-27 20:22:17 -04:00
Gannon McGibbon c3f3c39116 Add probot autolabeler config 2018-09-27 18:13:32 -04:00
Eugene Kenny 472f24e22f Update stale issue comment to mention 5-2-stable
5-2-stable is the release series that currently receives bug fixes.
2018-05-24 23:23:30 +01:00
Yoshiyuki Hirano c2a90a6fa1 Navigate edgeguide from .github template [ci skip]
* Navigate prefer edgeguide over guide
* Because edgeguide is always described latest policy we have
2018-04-20 00:40:04 +09:00
Brandon Keepers 910630a3ee Limit stale checks to issues 2017-04-01 11:27:26 -05:00
Rafael França e91b17e834 Configure the days until close a stale issue
[ci skip]
2017-03-29 12:21:40 -04:00
Rafael Mendonça França 3c419b9a8e
Use the stale branch
[ci skip]
2017-03-27 15:03:28 -04:00
Rafael Mendonça França 813413e432
Add probot/stale configuration 2017-03-27 13:56:32 -04:00
Prathamesh Sonpatki df3e26b400
Add a note about adding CHANGELOG entries at the top of the file [ci skip] 2016-07-02 22:31:09 +05:30
yuuji.yaginuma 71686f09df fix typo in pull_request_template [ci skip] 2016-02-26 16:40:42 +09:00
Arthur Nogueira Neves 434c8dc967 💅
[skip ci]
2016-02-25 22:32:57 -05:00
Jon Moss cd3d89f994 Add `issue_template.md` and `pull_request_template.md`
This appears to be a new feature of GitHub.

See these links for more details:
- https://github.com/dear-github/dear-github/issues/125
- https://github.com/owncloud/core/issues/new
- https://github.com/blog/2111-issue-and-pull-request-templates

[ci skip]
2016-02-18 14:04:00 -05:00