Skip to content

Commit

Permalink
Update TryThisPR.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp authored Oct 3, 2024
1 parent 9e3ea8f commit f968c47
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/TryThisPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/github-script@v5
- uses: nefrob/pr-description@v1.1.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `
content: |
## Try this Pull Request!
Open Julia and type:
\`\`\`jl
Expand All @@ -26,5 +21,5 @@ jobs:
julia> Pkg.add(url="${context.payload.pull_request.head.repo.html_url}", rev="${context.payload.pull_request.head.ref}")
julia> using ${context.payload.repository.name.replace(/\.jl$/,"")}
\`\`\`
`
})
regex: "jkhsdkjhasdfkjhawkejfbawkehfkajshdfkjahsdf"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f968c47

Please sign in to comment.