diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..4490fcc --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,18 @@ +version: 2 +updates: + # Enable version updates for GitHub actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + # Enable updates for Rust packages + - package-ecosystem: "cargo" + directory: "/" # Location of package manifests + schedule: + interval: "daily" + ignore: + # skip patch updates, as they can be quite noisy, but keep + # minor and major updates so that we don't fall too far + # behind + - dependency-name: "*" + update-types: ["version-update:semver-patch"] diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000..07655cb --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,20 @@ +name: security + +on: + schedule: + - cron: '0 0 * * *' + push: + paths: + - '**/Cargo.toml' + - '**/Cargo.lock' + +jobs: + audit: + runs-on: ubuntu-latest + permissions: write-all + name: "Audit Rust Dependencies" + steps: + - uses: actions/checkout@v4 + - uses: rustsec/audit-check@master + with: + token: ${{ secrets.GITHUB_TOKEN }}