From 953de111248d1bc453d17910403dbbfa468778f0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Jun 2026 21:00:58 +0000 Subject: [PATCH 1/3] Initial plan From 454de544a9c455c3915bbc7cf38406e3b155e7aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Jun 2026 21:03:53 +0000 Subject: [PATCH 2/3] Migrate main branch CI from Travis to GitHub Actions --- .github/workflows/unit-tests.yml | 17 +++++++++++++++++ .travis.yml | 2 -- README.md | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/unit-tests.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 00000000..aa66de32 --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,17 @@ +name: Unit Tests + +on: + push: + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + tests: + uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + with: + timeout-minutes: 60 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a50fc739..00000000 --- a/.travis.yml +++ /dev/null @@ -1,2 +0,0 @@ -import: -- logstash-plugins/.ci:travis/travis.yml@1.x \ No newline at end of file diff --git a/README.md b/README.md index 6c74816b..bbb01124 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Logstash Plugin -[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-input-beats.svg)](https://travis-ci.com/logstash-plugins/logstash-input-beats) +[![Unit Tests](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml/badge.svg?branch=main)](https://github.com/logstash-plugins/logstash-input-beats/actions/workflows/unit-tests.yml) This is a plugin for [Logstash](https://github.com/elastic/logstash). From e3a0e71d77021eb598a8cc8ce691cfc470faef64 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Jun 2026 21:04:33 +0000 Subject: [PATCH 3/3] Add explicit workflow token permissions --- .github/workflows/unit-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index aa66de32..1f0c0d92 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -7,6 +7,9 @@ on: - main workflow_dispatch: +permissions: + contents: read + jobs: tests: uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x