This action triggers a https://buildkite.com/ pipeline and (by default) waits for it to finish.
The official Buildkite action appears to be abandoned as it hasn't had any changes in nearly a year, is missing essential functionality such as the ability to wait until a pipeline is finished, and has a number of bugs such as using the wrong branch name on pull_request
events.
Required A Buildkite access token which must have the write_builds
permission, and if you want to wait for the builds to complete also needs the read_builds
permission.
Required Name of the pipeline to trigger, in the format organization/pipeline
.
Required Name of the branch to build. Default is the current branch.
Required The commit to build. Default is the current commit.
Required The message to associate with the build. Default ":github: Triggered by GitHub Action"
.
Environment variables to pass to the Buildkite build in JSON format. Note that this is distinct from the GitHub Actions env
setting which passes environment variables to the action itself.
If true then the action does not wait for the build to complete. Default false
.
The identifier of the build.
The build number.
The API URL of the build.
The web URL of the build.
The state of the build.
The raw data about the build in JSON format.
uses: zegocover/buildkite-pipeline-action@master
with:
access_token: '${{ secrets.buildkite_access_token }}'
pipeline: 'my-org/my-pipeline'
message: ':github: Running my-pipeline for ${{ github.actor }}'
env: '{"TARGET":"QA"}'