Skip to content

Commit

Permalink
fake
Browse files Browse the repository at this point in the history
  • Loading branch information
sprutton1 committed Dec 9, 2024
1 parent ac2d13f commit 0eaebdd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/try.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ on:
permissions:
contents: read
issues: write
pull-requests: read
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.pull_request.number }}
body: |
'Okay, starting a try! I\'ll comment again once the build starts...'
Okay, starting a try! I\'ll update this comment once it\'s running...\n
- uses: xt0rted/pull-request-comment-branch@v2
id: comment-branch
Expand All @@ -36,5 +37,6 @@ jobs:
- uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}
comment-id: ${{ steps.init-comment.outputs.comment-id }}
body: |
`πŸš€ [Try running here](${{ steps.run-build.outputs.url }}! πŸš€`
πŸš€ [Try running here](${{ steps.run-build.outputs.url }})! πŸš€

0 comments on commit 0eaebdd

Please sign in to comment.