Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact with this name already exists #45

Open
mtamiola-priv opened this issue Feb 10, 2025 · 0 comments
Open

Artifact with this name already exists #45

mtamiola-priv opened this issue Feb 10, 2025 · 0 comments

Comments

@mtamiola-priv
Copy link

Since moving to v0.9 (and upload-artifactv4) I have problem with following error
Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
Seems there was some breaking changes here actions/upload-artifact#480

This is how I run action

      - name: zap-api-scan
        uses: zaproxy/action-api-scan@77dfa9a647bb0f583e39d4df8531634d6ddd8df4 # 0.9.0
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          docker_name: 'ghcr.io/zaproxy/zaproxy:stable'
          format: openapi
          target: ./api-oas.json
          cmd_options: '-a'
          fail_action: false
          allow_issue_writing: false

tried to add
artifact_name: zap-report-${{ github.run_id }}-${{ github.run_attempt }}
but did not help. Any idea how to fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant