mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #2224] [MERGED] Actions Artifacts v4 backend #2332
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#2332
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/2224
Author: @ChristopherHX
Created: 2/19/2024
Status: ✅ Merged
Merged: 5/20/2024
Merged by: @mergify[bot]
Base:
master← Head:artifacts-v4📝 Commits (10+)
dbd3b73Actions Artifacts v4 backend325781alintf53d8b1fix it now9c3c3a9remove protofile, to make linter not complainb511927sync changesdebdad9add deletead925c2import auth test from giteade481ddMerge branch 'master' of github.com:nektos/act into artifacts-v4664c609Merge branch 'master' into artifacts-v4b36d612Merge branch 'master' into artifacts-v4📊 Changes
12 files changed (+1836 additions, -37 deletions)
View changed files
📝
codecov.yml(+3 -0)📝
go.mod(+5 -0)📝
go.sum(+64 -36)➕
pkg/artifacts/arifacts_v4.go(+442 -0)➕
pkg/artifacts/artifact.pb.go(+1058 -0)📝
pkg/artifacts/server.go(+1 -0)📝
pkg/artifacts/server_test.go(+1 -0)➕
pkg/artifacts/testdata/v4/artifacts.yml(+43 -0)➕
pkg/common/auth.go(+100 -0)➕
pkg/common/auth_test.go(+62 -0)📝
pkg/runner/run_context.go(+7 -1)📝
pkg/runner/run_context_test.go(+50 -0)📄 Description
A pretty insecure backport with stubs and removed checks
I'm the original author of most code in artifacts_v4.go and the dumped proto code
jwt code is from the gitea project
Use at your own risk
If you want tests, someone else need to take this over.
Tests for the full Gitea Implementation can be found here: https://github.com/go-gitea/gitea/pull/28965
Fixes https://github.com/nektos/act/issues/2135
dumped proto file has been deleted, because I'm not going to make changes to that file to satisfy the linter
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.