Skip to content

Migrate main CI from Travis to GitHub Actions reusable unit workflow - #11

Merged
donoghuc merged 3 commits into
mainfrom
copilot/migrate-ci-from-travis-to-github-actions
Aug 21, 2026
Merged

Migrate main CI from Travis to GitHub Actions reusable unit workflow#11
donoghuc merged 3 commits into
mainfrom
copilot/migrate-ci-from-travis-to-github-actions

Conversation

Copilot AI commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This migrates the plugin’s main branch CI from Travis to GitHub Actions using the shared logstash-plugins/.ci@1.x reusable workflows. The resolved Travis config for this repo only exercised the base unit-test matrix, so the migration adds only unit-test coverage in GHA.

  • Workflow migration (Travis → GHA)

    • Added .github/workflows/unit-tests.yml that calls logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x.
    • Preserved required trigger shape (push/pull_request on main, workflow_dispatch, and scheduled matrix fan-out).
    • Added secrets: inherit and notify-slack: false on both normal and scheduled jobs.
  • Security hardening on workflow caller

    • Added explicit least-privilege token scope:
      • permissions: contents: read
  • Repository cleanup

    • Removed legacy .travis.yml.
    • Replaced Travis badge in README.md with the unit-tests.yml GitHub Actions badge scoped to main.
  • Resolved Travis matrix parity

    • .travis.yml imported logstash-plugins/.ci:travis/travis.yml@1.x (and transitively defaults.yml, matrix.yml, exec.yml).
    • No plugin-local INTEGRATION=true, SECURE_INTEGRATION=true, or HAS_PERFORMANCE_TESTS=1 entries were present; therefore no integration/secure/performance workflow files were introduced.
jobs:
  tests:
    uses: logstash-plugins/.ci/.github/workflows/unit-tests.yml@1.x
    secrets: inherit
    with:
      notify-slack: false
      timeout-minutes: 60

Copilot AI and others added 2 commits August 12, 2026 22:11
Co-authored-by: donoghuc <15354214+donoghuc@users.noreply.github.com>
Co-authored-by: donoghuc <15354214+donoghuc@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate CI from Travis to GitHub Actions for main branch Migrate main CI from Travis to GitHub Actions reusable unit workflow Aug 12, 2026
Copilot AI requested a review from donoghuc August 12, 2026 22:12
@donoghuc
donoghuc marked this pull request as ready for review August 14, 2026 20:07

@donoghuc donoghuc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pre-existing failures. Clean migration. Merging.

@donoghuc
donoghuc merged commit 1c66fad into main Aug 21, 2026
4 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate CI from Travis to GitHub Actions (main branch)

2 participants