Skip to content

Commit

Permalink
cicd: don't upload workspace on failure
Browse files Browse the repository at this point in the history
This was largely unused, and the checkout action embeds short-lived
tokens in the workspace which end up in the artifact.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay authored and crozzy committed Apr 29, 2024
1 parent 7222dc8 commit ae135c4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,3 @@ jobs:
go test
-tags integration
${{ inputs.package_expr }}
- uses: actions/upload-artifact@v4
if: failure()
with:
name: workspace-${{matrix.go}}
path: ${{ github.workspace }}

0 comments on commit ae135c4

Please sign in to comment.