filebeat,x-pack/filebeat: prevent master=>event.original rename failures #4583
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-filebeat | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/check-filebeat.yml' | |
- 'filebeat/**' | |
- 'x-pack/filebeat/**' | |
env: | |
BEAT_MODULE: 'filebeat' | |
permissions: | |
contents: read | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go-version | |
- name: Update package lists | |
run: sudo apt-get update | |
- name: Install libsystemd-dev | |
run: sudo apt-get install -y libsystemd-dev | |
- name: Run check/update | |
run: | | |
go install github.com/magefile/mage | |
make -C ${{ env.BEAT_MODULE }} check update | |
make check-no-changes |