diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml new file mode 100644 index 0000000000..24693c794e --- /dev/null +++ b/.github/workflows/sync-fork.yml @@ -0,0 +1,19 @@ +name: Sync Fork + +on: + schedule: + - cron: '*/60 * * * *' # run hourly + workflow_dispatch: # or run on button click + +jobs: + sync: + + runs-on: ubuntu-latest + + steps: + - uses: tgymnich/fork-sync@v1.8 + with: + token: ${{ secrets.SYNC_FORK_TOKEN }} + owner: microsoft + base: main + head: main diff --git a/.gitignore b/.gitignore index 2f4cff580f..6fd1293a29 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,7 @@ lcov.info /src/ApiService/ApiService/Properties/PublishProfiles/* /src/ApiService/ApiService/Properties/ServiceDependencies/* -.vs \ No newline at end of file +.vs + +# Local fork tools, not to be merged back into main repo +/.github/workflows/sync-fork.yml diff --git a/README.md b/README.md index 010148dd3a..e3ab7544d4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # OneFuzz - [![Onefuzz build status](https://github.com/microsoft/onefuzz/workflows/Build/badge.svg?branch=main)](https://github.com/microsoft/onefuzz/actions/workflows/ci.yml?query=branch%3Amain) ## A self-hosted Fuzzing-As-A-Service platform diff --git a/src/agent/Cargo.lock b/src/agent/Cargo.lock index bfc9280716..2260d2eb24 100644 --- a/src/agent/Cargo.lock +++ b/src/agent/Cargo.lock @@ -2330,16 +2330,16 @@ dependencies = [ [[package]] name = "procfs" -version = "0.12.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0941606b9934e2d98a3677759a971756eb821f75764d0e0d26946d08e74d9104" +checksum = "943ca7f9f29bab5844ecd8fdb3992c5969b6622bb9609b9502fef9b4310e3f1f" dependencies = [ "bitflags", "byteorder", "flate2", "hex", "lazy_static", - "libc", + "rustix", ] [[package]] diff --git a/src/agent/coverage/Cargo.toml b/src/agent/coverage/Cargo.toml index 0e7c0c7b5a..1ada17083b 100644 --- a/src/agent/coverage/Cargo.toml +++ b/src/agent/coverage/Cargo.toml @@ -25,7 +25,7 @@ debugger = { path = "../debugger" } pete = "0.9" # For procfs, opt out of the `chrono` freature; it pulls in an old version # of `time`. We do not use the methods that the `chrono` feature enables. -procfs = { version = "0.12", default-features = false, features = ["flate2"] } +procfs = { version = "0.15", default-features = false, features = ["flate2"] } [dev-dependencies] clap = { version = "4.0", features = ["derive"] }