Skip to content

Commit

Permalink
Merge pull request #4218 from systeminit/tryest
Browse files Browse the repository at this point in the history
feat: tryest
  • Loading branch information
sprutton1 authored Jul 24, 2024
2 parents fe35765 + e2f1bee commit e5ecfbe
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/try.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@ name: Try Build

on:
issue_comment:
workflow_call:
types: [created, edited, deleted]
workflow_dispatch:

permissions: write-all

env:
branch: ${{ github.ref_name }}

jobs:

try:
# if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/try') }}
runs-on: ubuntu-latest
if: startsWith(github.event.comment.body, '/try')
uses: "buildkite/[email protected]"
with:
buildkite_api_access_token: ${{ secrets.BUILDKITE_TOKEN }}
pipeline: "si/merge-queue"
branch: $branch
commit: "HEAD"
message: ":github: Try for branch $branch"
ignore_pipeline_branch_filter: true
send_pull_request: true
steps:
- uses: "buildkite/[email protected]"
with:
buildkite_api_access_token: ${{ secrets.BUILDKITE_TOKEN }}
pipeline: "system-initiative/si/merge-queue"
branch: ${{ github.ref_name }}
message: ":github: Try for branch ${{ github.ref_name }}"
ignore_pipeline_branch_filter: true
send_pull_request: true

0 comments on commit e5ecfbe

Please sign in to comment.