Skip to content

Commit 5856da5

Browse files
committed
fix: remove drone job in favor of github action
1 parent dfcabbf commit 5856da5

File tree

3 files changed

+2
-265
lines changed

3 files changed

+2
-265
lines changed

.drone.star

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,7 @@ def main(ctx):
483483
build_release_helpers = \
484484
changelog() + \
485485
docs() + \
486-
licenseCheck(ctx) + \
487-
deleteStaleBranches(ctx)
486+
licenseCheck(ctx)
488487

489488
test_pipelines = \
490489
codestyle(ctx) + \
@@ -3704,36 +3703,6 @@ def postgresService():
37043703
},
37053704
]
37063705

3707-
def deleteStaleBranches(ctx):
3708-
return [{
3709-
"kind": "pipeline",
3710-
"type": "docker",
3711-
"name": "delete stale branches",
3712-
"steps": [
3713-
{
3714-
"name": "delete stale branches",
3715-
"image": OC_CI_ALPINE,
3716-
"settings": {
3717-
"netrc_machine": "github.com",
3718-
"netrc_username": {
3719-
"from_secret": "github_username",
3720-
},
3721-
"netrc_password": {
3722-
"from_secret": "github_token",
3723-
},
3724-
},
3725-
"commands": [
3726-
"./scripts/delete-stale-branches.sh || true",
3727-
],
3728-
},
3729-
],
3730-
"trigger": {
3731-
"ref": [
3732-
"refs/heads/master",
3733-
],
3734-
},
3735-
}]
3736-
37373706
def trivyScan(ctx):
37383707
steps = [
37393708
{

.github/workflows/remove_stale_branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
with:
2121
ignore-unknown-authors: true
2222
default-recipient: "kobergj"
23-
dry-run: ${{ inputs.dry-run || 'true' }} # fallback to dry-run
23+
dry-run: ${{ inputs.dry-run || 'false' }} # fallback to dry-run

scripts/delete-stale-branches.sh

Lines changed: 0 additions & 232 deletions
This file was deleted.

0 commit comments

Comments
 (0)