mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-12 16:44:05 -08:00
Merge pull request #9325 from LeviHarrison/fix-repo_sync_golangci-lint
Repo Sync: Create `.github/workflows` if not present
This commit is contained in:
commit
46286cb6ab
|
@ -185,6 +185,9 @@ process_repo() {
|
||||||
cd "${tmp_dir}/${org_repo}" || return 1
|
cd "${tmp_dir}/${org_repo}" || return 1
|
||||||
git checkout -b "${branch}" || return 1
|
git checkout -b "${branch}" || return 1
|
||||||
|
|
||||||
|
# If we need to add an Actions file this directory needs to be present.
|
||||||
|
mkdir -p "./.github/workflows"
|
||||||
|
|
||||||
# Update the files in target repo by one from prometheus/prometheus.
|
# Update the files in target repo by one from prometheus/prometheus.
|
||||||
for source_file in "${needs_update[@]}"; do
|
for source_file in "${needs_update[@]}"; do
|
||||||
case "${source_file}" in
|
case "${source_file}" in
|
||||||
|
|
Loading…
Reference in a new issue