From 9eab08d8b299a42ac45a6d541b2acb21010b33c8 Mon Sep 17 00:00:00 2001 From: maancham Date: Wed, 6 Mar 2024 09:29:09 -0500 Subject: [PATCH] chore: test vanilla cargo audit command --- .github/workflows/periodic-audit.yaml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/periodic-audit.yaml b/.github/workflows/periodic-audit.yaml index 506bb7ad4..f3ff9448f 100644 --- a/.github/workflows/periodic-audit.yaml +++ b/.github/workflows/periodic-audit.yaml @@ -31,14 +31,15 @@ jobs: - name: Run cargo audit id: cargo-audit run: | - AUDIT_OUTPUT=$(cargo audit) - echo "trimmed_results=$AUDIT_OUTPUT" >> GITHUB_OUTPUT - - - name: Post to Slack channel - id: slack - uses: slackapi/slack-github-action@v1.25.0 - with: - channel-id: 'C06N3BKMA5A' - slack-message: "Cargo Audit Results for: $(date '+%Y-%m-%d')\n${{ steps.cargo-audit.outputs.trimmed_results }}" - env: - SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} \ No newline at end of file + cargo audit +# audit_output=$(cargo audit) +# echo "trimmed_results=audit_output" >> GITHUB_OUTPUT + +# - name: Post to Slack channel +# id: slack +# uses: slackapi/slack-github-action@v1.25.0 +# with: +# channel-id: 'C06N3BKMA5A' +# slack-message: "Cargo Audit Results for: $(date '+%Y-%m-%d')\n${{ steps.cargo-audit.outputs.trimmed_results }}" +# env: +# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} \ No newline at end of file