Skip to content

Commit eae528f

Browse files
committed
Add license check workflow
This adds the Apache License Eye github action and necessary configuraiton. It will now ensure that all files contain a valid SPDX header. Fixes: #201 Signed-off-by: Dave Tucker <[email protected]>
1 parent 8082cca commit eae528f

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/nflog/message.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT
2+
13
use crate::{
24
buffer::NetfilterBuffer,
35
constants::{NFNL_SUBSYS_ULOG, NFULNL_MSG_CONFIG, NFULNL_MSG_PACKET},

src/nflog/nlas/config/nla.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT
2+
13
use anyhow::Context;
24
use byteorder::{BigEndian, ByteOrder};
35
use derive_more::{From, IsVariant};

src/nflog/nlas/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
// SPDX-License-Identifier: MIT
2+
13
pub mod config;
24
pub mod packet;

src/nflog/nlas/packet/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: MIT
2+
13
mod hw_addr;
24
mod nla;
35
mod packet_hdr;

0 commit comments

Comments
 (0)