From 3e59a7ebb0fc36937156226c95a31c789fadc398 Mon Sep 17 00:00:00 2001 From: Anish Reddy Ravula <2anishreddy@gmail.com> Date: Fri, 22 Mar 2024 11:52:19 -0500 Subject: [PATCH 1/2] Fix daypass projects to use daypass tag --- sharing_portal/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sharing_portal/views.py b/sharing_portal/views.py index 073ff55e..b322be55 100644 --- a/sharing_portal/views.py +++ b/sharing_portal/views.py @@ -1248,8 +1248,8 @@ def create_supplemental_project_if_needed(request, artifact, project): # allocation.save() created_project = Project.objects.get(id=created_tas_project["id"]) - daypss_tag_id = Tag.objects.get(name="Daypass") - mapper.update_project_tag(created_project.id, daypss_tag_id) + daypass_tag = Tag.objects.get(name="Daypass") + mapper.update_project_tag(created_project.id, daypass_tag.id) daypass_project = DaypassProject( artifact_uuid=artifact["uuid"], project=created_project ) From bbce7f582c47c016c0b77d0bdcbed8133e7f45cc Mon Sep 17 00:00:00 2001 From: Anish Reddy Ravula <2anishreddy@gmail.com> Date: Fri, 22 Mar 2024 13:49:41 -0500 Subject: [PATCH 2/2] bump ga:cosign install fails in github action runner - fix version Looks like they fixed here - https://github.com/ossf/scorecard-action/issues/998 updating to a newer verison should not be a problem, so bumping up the verison of cosign --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12368e5d..424121db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: if: github.event_name != 'pull_request' uses: sigstore/cosign-installer@main with: - cosign-release: 'v2.0.2' # optional + cosign-release: 'v2.2.2' # optional - name: Set up Docker Buildx uses: docker/setup-buildx-action@4b4e9c3e2d4531116a6f8ba8e71fc6e2cb6e6c8c