Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: npm ci

- name: Validate version
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
script: |
const { validateVersion } = await import('${{ github.workspace }}/shared/github-scripts/changelog-release-helper.mjs')
Expand All @@ -39,7 +39,7 @@ jobs:
validateVersion('${{ inputs.version }}', frontendPackage.default.version)

- name: Update CHANGELOG
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
script: |
const { updateChangelog } = await import('${{ github.workspace }}/shared/github-scripts/changelog-release-helper.mjs')
Expand All @@ -51,7 +51,7 @@ jobs:
run: npm version --no-git-tag-version --workspace govuk-frontend ${{ inputs.version }}

- name: Generate release notes
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
script: |
const { generateReleaseNotes } = await import('${{ github.workspace }}/shared/github-scripts/changelog-release-helper.mjs')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/diff-change-to-dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
if-no-files-found: ignore

- name: Add comment to PR
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/diff-change-to-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
if-no-files-found: ignore

- name: Add comment to PR
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release-to-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: git archive -o ./release-${{ steps.create-github-tag.outputs.GH_TAG }}.zip HEAD:dist

- name: Generate release notes
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
script: |
const { generateReleaseNotes } = await import('${{ github.workspace }}/shared/github-scripts/changelog-release-helper.mjs')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- name: Check for relevant changes
id: changes
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/stats-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Get base file stats
# Skip build when we’ve built this SHA before
if: steps.stats-cache.outputs.cache-hit != 'true'
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
script: |
const { writeFileSync } = await import('fs')
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Get head file stats
# Skip build when we’ve built this SHA before
if: steps.stats-cache.outputs.cache-hit != 'true'
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
script: |
const { writeFileSync } = await import('fs')
Expand All @@ -99,7 +99,7 @@ jobs:
- name: Compare base and head and add comment to PR
# Skip build when we’ve built this SHA before
if: steps.stats-cache.outputs.cache-hit != 'true'
uses: actions/github-script@v7.0.1
uses: actions/github-script@v8.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down