[NO-TICKET] Add fused_rms_norm config usage in Mistral moreh (#43)
#89
This file contains hidden or 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
| on: | |
| push: | |
| name: Secret Leaks | |
| permissions: | |
| contents: read | |
| jobs: | |
| trufflehog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - shell: bash | |
| run: | | |
| if [ "${{ github.event_name }}" == "push" ]; then | |
| echo "depth=$(($(jq length <<< '${{ toJson(github.event.commits) }}') + 2))" >> $GITHUB_ENV | |
| echo "branch=${{ github.ref_name }}" >> $GITHUB_ENV | |
| fi | |
| if [ "${{ github.event_name }}" == "pull_request" ]; then | |
| echo "depth=$((${{ github.event.pull_request.commits }}+2))" >> $GITHUB_ENV | |
| echo "branch=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV | |
| fi | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{env.branch}} | |
| fetch-depth: ${{env.depth}} | |
| - name: Secret Scanning | |
| uses: trufflesecurity/trufflehog@main |