Skip to content
代码片段 群组 项目
未验证 提交 0654c541 编辑于 作者: Sanad Liaquat's avatar Sanad Liaquat 提交者: GitLab
浏览文件

Merge branch 'secret_push_spec_commit_update' into 'master'

Update Secret Push Spec, use Commit

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/183050



Merged-by: default avatarSanad Liaquat <sliaquat@gitlab.com>
Approved-by: default avatarVishal Patel <vpatel@gitlab.com>
Approved-by: default avatarSanad Liaquat <sliaquat@gitlab.com>
Co-authored-by: default avatarWill Meek <wmeek@gitlab.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
...@@ -33,14 +33,16 @@ module QA ...@@ -33,14 +33,16 @@ module QA
include_context 'Web IDE test prep' include_context 'Web IDE test prep'
before do before do
# add file to the project create(:commit,
Resource::Repository::ProjectPush.fabricate! do |push| project: project,
push.project = project branch: project.default_branch,
push.file_name = file_name commit_message: 'Commit new file',
push.commit_message = 'Add newfile' actions: [
push.branch_name = 'main' {
push.new_branch = false action: 'create',
end file_path: file_name
}
])
end end
let(:file_name) { 'new_file.text' } let(:file_name) { 'new_file.text' }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册