Skip to content

Commit b68e883

Browse files
Remove unused skip field from configuration
1 parent 9373449 commit b68e883

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

site/src/load.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ pub struct Keys {
7272
#[derive(Debug, Deserialize)]
7373
pub struct Config {
7474
pub keys: Keys,
75-
#[serde(default)]
76-
pub skip: HashSet<String>,
7775
}
7876

7977
pub struct InputData {
@@ -128,7 +126,6 @@ impl InputData {
128126
github: std::env::var("GITHUB_API_TOKEN").ok(),
129127
secret: std::env::var("GITHUB_WEBHOOK_SECRET").ok(),
130128
},
131-
skip: HashSet::default(),
132129
}
133130
};
134131

@@ -167,7 +164,7 @@ impl InputData {
167164
.cloned()
168165
.filter(|c| now.signed_duration_since(c.time) < Duration::days(29))
169166
.filter_map(|c| {
170-
if have.contains(&c.sha) || self.config.skip.contains(&c.sha) {
167+
if have.contains(&c.sha) {
171168
None
172169
} else {
173170
Some((c, MissingReason::Sha))

0 commit comments

Comments
 (0)