feat(dal): Add the ability to set an annotation on a prop in the asset builder that it's create only #539
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: Try Build | |
on: | |
issue_comment: | |
types: [created, edited, deleted] | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
jobs: | |
try: | |
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/try') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: peter-evans/create-or-update-comment@v4 | |
id: init-comment | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: | | |
Okay, starting a try! I\'ll update this comment once it\'s running...\n | |
- uses: xt0rted/pull-request-comment-branch@v2 | |
id: comment-branch | |
- uses: "buildkite/[email protected]" | |
id: run-build | |
with: | |
buildkite_api_access_token: ${{ secrets.BUILDKITE_TOKEN }} # TODO(johnrwatson): This is Scott's Token at the minute, needs rotated | |
pipeline: "system-initiative/si-merge-queue" | |
branch: ${{ steps.comment-branch.outputs.head_ref }} | |
message: ":github: Try for branch ${{ steps.comment-branch.outputs.head_ref }}" | |
ignore_pipeline_branch_filter: true | |
send_pull_request: true | |
- uses: peter-evans/create-or-update-comment@v4 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
comment-id: ${{ steps.init-comment.outputs.comment-id }} | |
body: | | |
🚀 [Try running here](${{ steps.run-build.outputs.url }})! 🚀 |