Update main.yml #2
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: Release to Production | |
on: push | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
container: | |
image: salesforce/cli:2.49.4-slim | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Run Code Scan | |
run: | | |
git config --global safe.directory '*' | |
sfdx update | |
sf plugins install @salesforce/sfdx-scanner | |
git fetch --all --quiet | |
sf scanner run --format json --target security-demo/force-app |