Skip to content

Conversation

polamjag
Copy link
Contributor

@polamjag polamjag commented Aug 4, 2020

fixes #708

  • Updated Unreleased section in CHANGELOG or it's not notable changes.

@polamjag
Copy link
Contributor Author

polamjag commented Aug 4, 2020

CI fails due to the problem I would like to fix 🤔

@shmokmt
Copy link
Member

shmokmt commented Aug 4, 2020

I'm facing the same problem.

@Songmu
Copy link

Songmu commented Aug 4, 2020

Oops, I made the same change, but you were faster.
But it seems better to fix the test. Please refer to my fix. #710

@polamjag

@Songmu
Copy link

Songmu commented Aug 4, 2020

It seems a temporary bug in GitHub Actions itself, but looking at the documentation, it seems that making sure the GITHUB_ACTIONS variable is set to true is a more correct way to determine if it's working on GitHub Actions.

So I think this change is reasonable and acceptable. How do you think? @haya14busa

@shogo82148 shogo82148 requested a review from haya14busa August 4, 2020 10:11
Copy link
Member

@haya14busa haya14busa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@haya14busa haya14busa merged commit d8cbe31 into reviewdog:master Aug 4, 2020
@review-dog
Copy link
Member

Hi, @polamjag! We merged your PR to reviewdog! 🐶
Thank you for your contribution! ✨

We just invited you to join the @reviewdog organization on GitHub.
Accept the invite by visiting https://github.com/orgs/reviewdog/invitation.
By joining the team, you'll be a part of reviewdog community and can help the maintainance of reviewdog.

Thanks again!

@JGJP
Copy link

JGJP commented Aug 4, 2020

Can we expect this to be released soon?

haya14busa added a commit that referenced this pull request Aug 4, 2020
Check for GITHUB_ACTIONS instead of GITHUB_ACTION
@haya14busa haya14busa mentioned this pull request Aug 4, 2020
@polamjag
Copy link
Contributor Author

polamjag commented Aug 4, 2020

@haya14busa @Songmu Thanks!! 👍👍👍

@haya14busa
Copy link
Member

haya14busa commented Aug 4, 2020

Released v0.10.2 (#711) and update most public reviewdog actions maintained under reviewdog org as well.

@johnboyes
Copy link

Released v0.10.2 (#711) and update most public reviewdog actions maintained under reviewdog org as well.

Thanks to everyone involved for the quick turnaround on this.

Looks like https://github.com/reviewdog/action-yamllint is one of the actions that has not had the fix applied yet, FYI.

@shogo82148
Copy link
Contributor

It looks that action-yamllint doesn't have Automated Dependencies Update workflow.
I will introduce it.
reviewdog/action-yamllint#5

@shogo82148
Copy link
Contributor

Thank you, but Automated Dependencies Update workflow is now here.
https://github.com/reviewdog/action-yamllint/blob/master/.github/workflows/depup.yml

And I just released https://github.com/reviewdog/action-yamllint/releases/tag/v1.1.0 with reviewdog v0.10.2.
Thanks!

KikeE36 added a commit to KikeE36/reviewdog that referenced this pull request Feb 22, 2021
https://github.com/reviewdog/reviewdog/tree/reviewdog:master
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### ✨ Release Note <!-- optional -->

### 🚀 Enhancements
- [reviewdog#888](reviewdog#888) Allow GitHub PR reporting for a forked repository iff it's triggered by `pull_request_target`

### 🐛 Fixes
- ...

### 🚨 Breaking changes
- ...

---

## [v0.11.0] - 2020-10-25

### ✨ Release Note
reviewdog v0.11 introduced [Reviewdog Diagnostic Format (RDFormat)](./README.md#reviewdog-diagnostic-format-rdformat)
as generic machine-readable diagnostic format and it unlocks new rich features like code suggestions.

### 🚀 Enhancements
- [reviewdog#629](reviewdog#629) Introduced Reviewdog Diagnostic Format.
 - [reviewdog#674](reviewdog#674) [reviewdog#703](reviewdog#703) Support rdjsonl/rdjson as input format
 - [reviewdog#680](reviewdog#680) github-pr-review: Support multiline comments
 - [reviewdog#675](reviewdog#675) [reviewdog#698](reviewdog#698) github-pr-review: Support suggested changes
 - [reviewdog#699](reviewdog#699) Support diff input format (`-f=diff`). Useful for suggested changes.
 - [reviewdog#700](reviewdog#700) Support to show code(rule), code URL and severity in GitHub and GitLab reporters.
- [reviewdog#678](reviewdog#678) github-pr-review: Support Code Suggestions
  - Introduced [reviewdog/action-suggester](https://github.com/reviewdog/action-suggester) action.
- Introduced [reviewdog/action-setup](https://github.com/reviewdog/action-setup) GitHub Action which installs reviewdog easily including nightly release.
- [reviewdog#769](reviewdog#769) Integration with [Bitbucket Code Insights](https://support.atlassian.com/bitbucket-cloud/docs/code-insights/) and [Bitbucket Pipelines](https://bitbucket.org/product/ru/features/pipelines)

---

## [v0.10.2] - 2020-08-04

### 🐛 Fixes
- [reviewdog#709](reviewdog#709) Check for GITHUB_ACTIONS instead of GITHUB_ACTION

---

## [v0.10.1] - 2020-06-30

### 🚀 Enhancements
- [reviewdog#563](reviewdog#563) Use `CI_API_V4_URL` environment variable when present.

### 🐛 Fixes
- [reviewdog#609](reviewdog#609) reviewdog command will fail with unexpected tool's error for github-check/github-pr-check reporters as well. ([@haya14busa])
- [reviewdog#603](reviewdog#603) Fixed detection of Pull Requests from forked repo. ([@haya14busa])

---

## [v0.10.0] - 2020-05-07

### ✨ Release Note

With v0.10.0 release, now reviewdog can find issues outside diff by controlling
filtering behavior with `-filter-mode`. Also, you can ensure to check reported
results by exit 1 with `-fail-on-error`.

Example
```shell
$ cd subdir/ && reviewdog -filter-mode=file -fail-on-error -reporter=github-pr-review
```

### 🚀 Enhancements
- [reviewdog#446](reviewdog#446)
  Added `-fail-on-error` flag
  ([document](https://github.com/reviewdog/reviewdog/tree/e359505275143ec85e9b114fc1ab4a4e91d04fb5#exit-codes))
  and improved exit code handling. ([@DmitryLanda](https://github.com/DmitryLanda), [@haya14busa])
- [reviewdog#187](reviewdog#187)
  Added `-filter-mode` flag [`added`, `diff_context`, `file`, `nofilter`]
  ([document](https://github.com/reviewdog/reviewdog/tree/e359505275143ec85e9b114fc1ab4a4e91d04fb5#filter-mode))
  which controls how reviewdog filter results. ([@Le6ow5k1](https://github.com/Le6ow5k1), [@haya14busa])
- [reviewdog#69](reviewdog#69) Support gerrit! ([@staticmukesh](https://github.com/staticmukesh))
- [reviewdog#548](reviewdog#548) Introduced nightly release ([reviewdog/nightly](https://github.com/reviewdog/nightly)). ([@haya14busa])

### 🐛 Fixes
- [reviewdog#461](reviewdog#461) All reporters now supports sub-directory run. ([@haya14busa])

### 🚨 Breaking changes
- `github-check` reporter won't report results outside diff by default now. You
  need to use `-filter-mode=nofilter` to keep the same bahavior.

---

See https://github.com/reviewdog/reviewdog/releases for older release note.

[Unreleased]: reviewdog/reviewdog@v0.10.0...HEAD
[v0.10.0]: reviewdog/reviewdog@v0.9.17...v0.10.0
[v0.10.1]: reviewdog/reviewdog@v0.10.0...v0.10.1
[v0.10.2]: reviewdog/reviewdog@v0.10.1...v0.10.2
[v0.11.0]: reviewdog/reviewdog@v0.10.2...v0.11.0
[@haya14busa]: https://github.com/haya14busa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Determining if reviewdog is working in GitHub Actions or not is broken because of runner's regression
8 participants