Skip to content

Commit

Permalink
Update actions/github-script action to v7
Browse files Browse the repository at this point in the history
| datasource  | package               | from | to |
| ----------- | --------------------- | ---- | -- |
| github-tags | actions/github-script | v6   | v7 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 22, 2023
1 parent d0994be commit d377b0c
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 d377b0c

Please sign in to comment.