Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
rnro committed Mar 10, 2025
1 parent 21429ce commit d5547fe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Manual
on:
issue_comment:
types: [created, edited]

jobs:
update-benchmarks:
if: ${{ github.event.issue.pull_request && contains(['COLLABORATOR', 'MEMBER', 'OWNER'], github.event.issue.author_association) && github.event.issue.comment=="Update benchmarks"}}
runs-on: [ubuntu-latest]
steps:
- name: Comment
run: |
# Use GitHub API to create a comment on the PR
PR_NUMBER=${{ github.event.pull_request.number }}
COMMENT="Test commenting back to the PR"
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
COMMENT_URL="https://api.github.com/repos/${{ github.repository }}/issues/${PR_NUMBER}/comments"
curl -s -H "Authorization: token ${GITHUB_TOKEN}" -X POST $COMMENT_URL -d "{\"body\":\"$COMMENT\"}"
# - name: Checkout repository
# uses: actions/checkout@v4
# with:
# persist-credentials: false

Check failure on line 24 in .github/workflows/manual.yml

View workflow job for this annotation

GitHub Actions / Soundness / YAML lint check

24:39 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit d5547fe

Please sign in to comment.