Skip to content

Commit

Permalink
Test the integration
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Oct 9, 2024
1 parent daec621 commit 36112e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/comment-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
with:
command: review
pull_number: ${{ env.PR_NUMBER }}
git_dir: '.'
git_dir: '.'
4 changes: 2 additions & 2 deletions .github/workflows/receive-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Remove pr_number.txt
run: rm -f pr_number.txt

# Execute recipes
# Execute Error Prone
- name: Run Error Prone
run: mvn verify -Perror-prone -Ppatch

Expand All @@ -51,4 +51,4 @@ jobs:
- uses: actions/upload-artifact@v4

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 8: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue
with:
name: patch
path: git-diff.patch
path: git-diff.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import static java.util.Objects.requireNonNull;

import com.google.common.base.Preconditions;
import com.google.errorprone.refaster.ImportPolicy;
import com.google.errorprone.refaster.annotation.AfterTemplate;
import com.google.errorprone.refaster.annotation.BeforeTemplate;
import com.google.errorprone.refaster.annotation.UseImportPolicy;
Expand All @@ -30,7 +31,7 @@ void before(boolean condition) {
}

@AfterTemplate
@UseImportPolicy(STATIC_IMPORT_ALWAYS)
@UseImportPolicy(ImportPolicy.STATIC_IMPORT_ALWAYS)
void after(boolean condition) {
checkArgument(!condition);
}
Expand Down

0 comments on commit 36112e4

Please sign in to comment.