Skip to content

[automation] Update Elastic stack release version source of truth #869

[automation] Update Elastic stack release version source of truth

[automation] Update Elastic stack release version source of truth #869

Workflow file for this run

---
name: lint
on:
push:
branches: [main]
pull_request: ~
# limit the access of the generated GITHUB_TOKEN
permissions:
contents: read
## Concurrency only allowed in the main branch.
## So old builds running for old commits within the same Pull Request are cancelled
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color -format '${{ env.FORMAT }}' -ignore '${{ env.IGNORE }}'
env:
FORMAT: '{{range $err := .}}::error file={{$err.Filepath}},line={{$err.Line}},col={{$err.Column}}::{{$err.Message}}%0A```%0A{{replace $err.Snippet "\\n" "%0A"}}%0A```\n{{end}}'
IGNORE: 'property "uploaded" is not defined in object type {}'