From e6957aa8732a8122bb904b66f1305bb7f6bc6197 Mon Sep 17 00:00:00 2001 From: Typpi <20943337+Nick2bad4u@users.noreply.github.com> Date: Fri, 17 May 2024 15:48:56 -0400 Subject: [PATCH] Update and rename cache.yml to black.yml --- .github/workflows/black.yml | 11 +++++++++++ .github/workflows/cache.yml | 18 ------------------ 2 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/black.yml delete mode 100644 .github/workflows/cache.yml diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..7b85299 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,11 @@ +name: black-action +on: [push, pull_request] +jobs: + linter_name: + name: runner / black formatter + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: datadog/action-py-black-formatter@v2.1 + with: + check_mode: "true" diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml deleted file mode 100644 index 0055bb3..0000000 --- a/.github/workflows/cache.yml +++ /dev/null @@ -1,18 +0,0 @@ -on: - workflow_dispatch: - #push: -# branches: [ "main" ] - # pull_request: - # branches: [ "main" ] - # schedule: -# - cron: '26 16 * * 5' - -permissions: - contents: read- name: CodeThreat Scanner - # You may pin to the exact commit or the version. - # uses: CodeThreat/codethreat-github-action@89ccd1d539dc44a0c57aab95489f633eb93f7052 - uses: CodeThreat/codethreat-github-action@v1.021 - with: - # FAILED_ARGS - FAILED_ARGS: # optional, default is -