use nn.Name for generated netpol if workload-name is missing #367
Workflow file for this run
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: pull_request_created | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
paths-ignore: | |
- '*.md' | |
- '*.yaml' | |
- '.github/workflows/*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pr-created: | |
uses: kubescape/workflows/.github/workflows/incluster-comp-pr-created.yaml@main | |
with: | |
CGO_ENABLED: 0 | |
GO_VERSION: "1.23" | |
secrets: inherit |