Skip to content

update ruby analyzer. #168

update ruby analyzer.

update ruby analyzer. #168

Workflow file for this run

name: Codety
on:
push:
branches: ${{ github.event.repository.default_branch }}

Check failure on line 4 in .github/workflows/codety.yml

View workflow run for this annotation

GitHub Actions / Codety

Invalid workflow file

The workflow is not valid. .github/workflows/codety.yml (Line: 4, Col: 16): Unrecognized named-value: 'github'. Located at position 1 within expression: github.event.repository.default_branch
pull_request:
branches: [ "**" ] # **
jobs:
Codety-Scanner:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
checks: write
container:
image: codetyio/codety:latest
env:
# CODETY_TOKEN: ${{ secrets.CODETY_TOKEN_PROD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@main
- run: codety
env:
CODETY_RUNNER_DEBUG: true
#prod:
# CODETY_TOKEN: ${{ secrets.CODETY_TOKEN_PROD }}
#test:
CODETY_TOKEN: ${{ secrets.CODETY_TOKEN_TEST }}
CODETY_HOST: ${{ vars.CODETY_HOST_TEST }}
CODETY_ISSUE_REPORTER_SLACK: true
CODETY_FAIL_JOB_WHEN_CODE_ISSUE_WAS_FOUND: true
SLACK_OAUTH_TOKEN: ${{ secrets.SLACK_OAUTH_TOKEN_TEST_INTEGRATION }}
SLACK_CONVERSATION_ID: ${{ vars.SLACK_CONVERSATION_ID }}
# - name: Upload SARIF results file
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: codety-scanning-result.sarif