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 -