ci(smoke-tests): set id-token when running other workflows (#13497) (… #1340
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: microbenchmark | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- "8.[0-9]+" | |
paths-ignore: | |
- '**.md' | |
- '**.asciidoc' | |
# limit the access of the generated GITHUB_TOKEN | |
permissions: | |
contents: read | |
jobs: | |
microbenchmark: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Run buildkite pipeline | |
uses: elastic/oblt-actions/buildkite/[email protected] | |
with: | |
token: ${{ secrets.BUILDKITE_TOKEN }} | |
pipeline: apm-agent-microbenchmark | |
env-vars: | | |
script=.ci/scripts/bench.sh | |
repo=apm-server | |
sha=${{ github.sha }} | |
BRANCH_NAME=${{ github.ref_name }} | |
REPO=apm-server |