Skip to content

Commit f73120d

Browse files
authored
Merge branch 'master' into dependabot/cargo/reqwest-0.12.8
2 parents 0afc6b4 + 588fac6 commit f73120d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5757

5858
- name: Build and push Docker image
59-
uses: docker/build-push-action@32945a339266b759abcbdc89316275140b0fc960
59+
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75
6060
with:
6161
file: Dockerfile.build
6262
context: .

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
- fix: Improved reporting for bad HTTP status codes. (#90)
6+
57
## 1.0.1
68

79
- fix: `raw_url` is optional, check for the existance of it only for the changelog change. (#12)

src/checker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub fn check(repo_name: &str, pr_number: &str, changelog_path: &str) -> Result<V
9292
format!("https://api.github.com/repos/{repo_name}/pulls/{pr_number}/files").as_str(),
9393
)?;
9494

95-
let resp: GitHubPrFiles = client.get(url).send()?.json()?;
95+
let resp: GitHubPrFiles = client.get(url).send()?.error_for_status()?.json()?;
9696
let mut added_entries: Vec<AddedEntry> = Vec::new();
9797

9898
let changelog_diff_entry = resp.into_iter().find(|c| c.filename == changelog_path);

0 commit comments

Comments
 (0)