[kbn-eslint-plugin-eslint] add scout_api_test_discourage_kbn_client rule #354379
Workflow file for this run
This file contains hidden or 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 | |
| - unlabeled | |
| jobs: | |
| on-merge: | |
| name: 'Label and Backport' | |
| runs-on: ubuntu-latest | |
| if: | | |
| github.event.pull_request.merged == true && | |
| (github.event.action == 'closed' || | |
| (github.event.action == 'labeled' && | |
| (github.event.label.name == 'backport:all-open' || | |
| github.event.label.name == 'backport:version')) || | |
| (github.event.action == 'unlabeled' && | |
| github.event.label.name == 'backport:skip' && | |
| (contains(github.event.pull_request.labels.*.name, 'backport:all-open') || | |
| contains(github.event.pull_request.labels.*.name, 'backport:version')))) | |
| steps: | |
| - name: Checkout Actions | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| repository: 'elastic/kibana-github-actions' | |
| ref: main | |
| path: ./actions | |
| persist-credentials: false | |
| - name: Install Actions | |
| run: npm install --production --prefix ./actions | |
| - name: Run On-Merge | |
| uses: ./actions/on-merge | |
| with: | |
| github_token: ${{secrets.KIBANAMACHINE_TOKEN}} |