fix(codeql, 8.x): exclude observability_solution
scripts and dev-only kbn-spec-to-console
package from the CodeQL scans
#217970
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
on: | |
pull_request_target: | |
types: | |
- closed | |
- labeled | |
jobs: | |
on-merge: | |
name: 'Label and Backport' | |
runs-on: ubuntu-latest | |
if: | | |
github.event.pull_request.merged == true | |
&& ( | |
( | |
github.event.action == 'labeled' && ( | |
github.event.label.name == 'backport:prev-minor' | |
|| github.event.label.name == 'backport:prev-major' | |
|| github.event.label.name == 'backport:current-major' | |
|| github.event.label.name == 'backport:all-open' | |
|| github.event.label.name == 'backport:version' | |
|| github.event.label.name == 'auto-backport' | |
) | |
) | |
|| (github.event.action == 'closed') | |
) | |
steps: | |
- name: Checkout Actions | |
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
with: | |
repository: 'elastic/kibana-github-actions' | |
ref: main | |
path: ./actions | |
- name: Install Actions | |
run: npm install --production --prefix ./actions | |
- name: Run On-Merge | |
uses: ./actions/on-merge | |
with: | |
github_token: ${{secrets.KIBANAMACHINE_TOKEN}} |