Skip to content

Commit

Permalink
automation: remove bump snapshots (#2250) (#2253)
Browse files Browse the repository at this point in the history
(cherry picked from commit c097697)

Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
mergify[bot] and v1v authored Feb 13, 2023
1 parent b48e8d9 commit 60a5156
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 74 deletions.
42 changes: 0 additions & 42 deletions .ci/bump-stack-version.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/bump-golang.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Bump golang version
name: bump-golang

on:
workflow_dispatch:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/opentelemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: OpenTelemetry Export Trace
on:
workflow_run:
workflows:
- bump-golang
- golangci-lint
- Elastic Agent workflow using Snyk
- macos
Expand Down
31 changes: 0 additions & 31 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,37 +54,6 @@ pull_request_rules:
message: |
This pull request has been automatically closed by Mergify.
There are some other up-to-date pull requests.
- name: automatic approval for automated pull requests with bump updates
conditions:
- author=apmmachine
- check-success=fleet-ci/pr-merge
- label=automation
- files~=^testing/environments/snapshot.*\.yml$
actions:
review:
type: APPROVE
message: Automatically approving mergify
- name: automatic squash and merge with success checks and the files matching the regex ^testing/environments/snapshot* are modified.
conditions:
- check-success=fleet-ci/pr-merge
- label=automation
- files~=^testing/environments/snapshot.*\.yml$
- "#approved-reviews-by>=1"
actions:
queue:
method: squash
name: default
- name: delete upstream branch after merging changes on testing/environments/snapshot* or it's closed
conditions:
- or:
- merged
- closed
- and:
- label=automation
- head~=^update-stack-version
- files~=^testing/environments/snapshot.*\.yml$
actions:
delete_head_branch:
- name: delete upstream branch after merging changes on .go-version or it's closed
conditions:
- or:
Expand Down

0 comments on commit 60a5156

Please sign in to comment.