mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
85 lines
2.3 KiB
Go
85 lines
2.3 KiB
Go
// Copyright 2024 Woodpecker Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
package fixtures
|
|
|
|
import _ "embed"
|
|
|
|
// HookPush is a sample Forgejo push hook.
|
|
//
|
|
//go:embed HookPush.json
|
|
var HookPush string
|
|
|
|
// HookPushMulti push multible commits to a branch.
|
|
//
|
|
//go:embed HookPushMulti.json
|
|
var HookPushMulti string
|
|
|
|
// HookPushBranch is a sample Forgejo push hook where a new branch was created from an existing commit.
|
|
//
|
|
//go:embed HookPushBranch.json
|
|
var HookPushBranch string
|
|
|
|
// HookTag is a sample Forgejo tag hook.
|
|
//
|
|
//go:embed HookTag.json
|
|
var HookTag string
|
|
|
|
// HookPullRequest is a sample pull_request webhook payload.
|
|
//
|
|
//go:embed HookPullRequest.json
|
|
var HookPullRequest string
|
|
|
|
//go:embed HookPullRequestUpdated.json
|
|
var HookPullRequestUpdated string
|
|
|
|
//go:embed HookPullRequestMerged.json
|
|
var HookPullRequestMerged string
|
|
|
|
//go:embed HookPullRequestClosed.json
|
|
var HookPullRequestClosed string
|
|
|
|
//go:embed HookPullRequestEdited.json
|
|
var HookPullRequestEdited string
|
|
|
|
//go:embed HookRelease.json
|
|
var HookRelease string
|
|
|
|
//go:embed HookPullRequestAssigneesAdded.json
|
|
var HookPullRequestAssigneesAdded string
|
|
|
|
//go:embed HookPullRequestMilestoneAdded.json
|
|
var HookPullRequestMilestoneAdded string
|
|
|
|
//go:embed HookPullRequestLabelAdded.json
|
|
var HookPullRequestLabelAdded string
|
|
|
|
//go:embed HookPullRequestAssigneeCleared.json
|
|
var HookPullRequestAssigneeCleared string
|
|
|
|
//go:embed HookPullRequestMilestoneChanged.json
|
|
var HookPullRequestMilestoneChanged string
|
|
|
|
//go:embed HookPullRequestLabelsUpdated.json
|
|
var HookPullRequestLabelsUpdated string
|
|
|
|
//go:embed HookPullRequestLabelsCleared.json
|
|
var HookPullRequestLabelsCleared string
|
|
|
|
//go:embed HookPullRequestMilestoneCleared.json
|
|
var HookPullRequestMilestoneCleared string
|
|
|
|
//go:embed HookPullRequestReopened.json
|
|
var HookPullRequestReopened string
|