From 586d9a2d36e04775c153de465462bcc52fd45ec1 Mon Sep 17 00:00:00 2001 From: Aitor Ruano <45633475+c0dearm@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:25:18 +0200 Subject: [PATCH 1/4] Add workflow for scheduled cargo-audit --- .github/workflows/security.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 00000000..544c7784 --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,14 @@ +name: Security +on: + schedule: + - cron: '0 0 * * *' +jobs: + audit: + name: Audit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: ./.github/actions/arrayfire + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 522956b0eba4a817145859a0a55e050ae9242989 Mon Sep 17 00:00:00 2001 From: Aitor Ruano <45633475+c0dearm@users.noreply.github.com> Date: Mon, 27 Jun 2022 14:23:10 +0200 Subject: [PATCH 2/4] Update .github/workflows/security.yml Co-authored-by: Pradeep Garigipati --- .github/workflows/security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 544c7784..d1c33198 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -1,7 +1,7 @@ name: Security on: schedule: - - cron: '0 0 * * *' + - cron: '0 0 * * 0' jobs: audit: name: Audit From 49648373cf18e5373902fd135657ddf47c46dce2 Mon Sep 17 00:00:00 2001 From: Aitor Ruano <45633475+c0dearm@users.noreply.github.com> Date: Mon, 27 Jun 2022 14:23:30 +0200 Subject: [PATCH 3/4] Update .github/workflows/security.yml Co-authored-by: Pradeep Garigipati --- .github/workflows/security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index d1c33198..0f500037 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -4,7 +4,7 @@ on: - cron: '0 0 * * 0' jobs: audit: - name: Audit + name: Dependencies Security Audit runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 From 8e123d952f4d788666d132f36b9d02dd47ce18d3 Mon Sep 17 00:00:00 2001 From: Aitor Ruano <45633475+c0dearm@users.noreply.github.com> Date: Mon, 27 Jun 2022 14:24:30 +0200 Subject: [PATCH 4/4] add new line --- .github/workflows/security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 0f500037..508085f6 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -11,4 +11,4 @@ jobs: - uses: ./.github/actions/arrayfire - uses: actions-rs/audit-check@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }}