Skip to content

Commit

Permalink
Try upgrading actions/github-script to v7
Browse files Browse the repository at this point in the history
  • Loading branch information
jprider63 committed Sep 25, 2024
1 parent b6cc712 commit ed621dc
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci-pr-bench.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
name: CI Benchmarks

permissions:
id-token: write
contents: read
issues: write
pull-requests: write

on:
pull_request:
branches:
Expand Down Expand Up @@ -148,11 +142,10 @@ jobs:
tests/compare-benchmarks.py ${{ env.BASE_DATA }} ${{ env.PR_DATA }} >> ${{ env.COMMENT }}
- name: 'Comment PR'
uses: actions/github-script@v4.0.2
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down

0 comments on commit ed621dc

Please sign in to comment.