mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
chore: fix ci
This commit is contained in:
1 parent
1ff75aa822
commit
2e7bd47be6
3 files changed
+37
-17
No files matched your search
@@ -546,11 +546,11 @@ func TestActionsWorkflowPermissionsKeyword(t *testing.T) {
|
||||
|
||||
// Create a run and job with explicit permissions
|
||||
run := &actions_model.ActionRun{
|
||||
RepoID: repository.ID,
|
||||
OwnerID: repository.Owner.ID,
|
||||
Title: "Test workflow with read-all permissions",
|
||||
Status: actions_model.StatusRunning,
|
||||
Ref: "refs/heads/master",
|
||||
RepoID: repository.ID,
|
||||
OwnerID: repository.Owner.ID,
|
||||
Title: "Test workflow with read-all permissions",
|
||||
Status: actions_model.StatusRunning,
|
||||
Ref: "refs/heads/master",
|
||||
CommitSHA: "abc123",
|
||||
}
|
||||
require.NoError(t, db.Insert(t.Context(), run))
|
||||
|
||||
Reference in new issue
Block a user