update ruby analyzer. #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Codety | ||
on: | ||
push: | ||
branches: ${{ github.event.repository.default_branch }} | ||
Check failure on line 4 in .github/workflows/codety.yml GitHub Actions / CodetyInvalid workflow file
|
||
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 |