Fixed nil access error when scan ownership is not set and scan list i… #1467
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: Core Feature Development | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| - development | |
| pull_request: | |
| branches: ['development'] | |
| workflow_dispatch: | |
| inputs: | |
| env: | |
| # Use docker.io for Docker Hub if empty | |
| REGISTRY: ghcr.io | |
| # github.repository as <account>/<repo> | |
| IMAGE_NAME: ${{ github.repository }} | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| jobs: | |
| slug: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| github_ref_slug: ${{ env.GITHUB_REF_NAME_SLUG }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| submodules: true | |
| - name: GitHub Slug Action | |
| uses: rlespinasse/github-slug-action@v4.4.0 | |
| step: | |
| uses: ./.github/workflows/main.yml | |
| needs: slug | |
| with: | |
| version_format: '${major}.${minor}.${patch}-${{ needs.slug.outputs.github_ref_slug }}.${increment}' | |
| secrets: inherit |