Mobb fix from CodeQL reports #1
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
| name: Mobb fix from CodeQL reports | |
| on: | |
| workflow_run: | |
| workflows: ["CodeQL"] # This workflow is triggered when the name specified here is triggered. In CodeQL Default Code Scanning Setup, this name is "CodeQL", if you are using CodeQL Advanced Setup, you may need to change this if you have a different workflow name. | |
| types: | |
| - completed | |
| jobs: | |
| handle_codeql_scan: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| permissions: | |
| pull-requests: write | |
| security-events: write | |
| statuses: write | |
| contents: write | |
| issues: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.workflow_run.head_sha }} | |
| - uses: ./ | |
| with: | |
| mobb-api-token: ${{ secrets.MOBB_API_TOKEN }} | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Optional: specify organization and project | |
| # organization-id: "your-org-id" | |
| # mobb-project-name: "Your Project Name" |