Skip to content

Commit

Permalink
fix(actions): update actions/github-script to v7
Browse files Browse the repository at this point in the history
  • Loading branch information
JoffreyPlouvier committed Apr 10, 2024
1 parent 659a5dc commit f0f387a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/actions/get-repo-topic/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
using: "composite"
steps:
- id: extract-topic
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const getTopic = function(gh_repo, prefix) {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
name: "HTML Documentation"
path: docs/build/html/
retention-days: 3
- uses: actions/github-script@v6
- uses: actions/github-script@v7
if: github.event_name == 'pull_request' && success()
with:
github-token: ${{secrets.GITHUB_TOKEN}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
prefix: 'project-'
- id: project-index
if: ${{ steps.project-name.outputs.topic != '' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.API_TOKEN_GITHUB }}
script: |
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

# Sync Repo documentation to project sub-directory
- id: project-path
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
if ("${{ needs.detect-project.outputs.name }}" != '') {
Expand Down
2 changes: 1 addition & 1 deletion actions/git/advance-tag/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
using: "composite"
steps:
- name: Advance nightly tag
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ inputs.github-token }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion actions/git/extract-version-from-tag/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
steps:
- name: "extract version from refname"
id: extract-version
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const getVersion = function (ref_name) {
Expand Down

0 comments on commit f0f387a

Please sign in to comment.