Skip to content

Commit

Permalink
Merge pull request #424 from patchlevel/renovate/actions-github-scrip…
Browse files Browse the repository at this point in the history
…t-7.x

Update actions/github-script action to v7
  • Loading branch information
DanielBadura authored Nov 22, 2023
2 parents 1c38e2e + 91c9f90 commit 5135058
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
cat bench.txt >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
// Get the existing comments.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:

- name: Normalize current versions
id: current
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: return context.ref.match(/([0-9]+\.[0-9]+)\.(x|[0-9]+)/i)[1];
result-encoding: string

- name: Normalize latest versions
id: latest
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: return "${{steps.latest_release.outputs.release}}".match(/([0-9]+\.[0-9]+)\.[0-9]+/i)[1];
result-encoding: string
Expand Down

0 comments on commit 5135058

Please sign in to comment.