Skip to content

Commit

Permalink
chore: Update versions for actions we use
Browse files Browse the repository at this point in the history
  • Loading branch information
KVNLS committed Sep 11, 2024
1 parent d96e9cd commit 42339b2
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: commitlint
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: format summary
id: status
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
app_id: ${{ secrets.GH_BOT_APP_ID }}
private_key: ${{ secrets.GH_BOT_PRIVATE_KEY }}
- name: report start
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
result-encoding: string
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
app_id: ${{ secrets.GH_BOT_APP_ID }}
private_key: ${{ secrets.GH_BOT_PRIVATE_KEY }}
- name: report jobs status
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
result-encoding: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/labeler@v4
with:
repo-token: ${{ steps.generate-token.outputs.token }}
- uses: actions/github-script@v6
- uses: actions/github-script@v7
if: github.event.pull_request.head.repo.fork
with:
github-token: ${{ steps.generate-token.outputs.token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-prerelease-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

#time to slack this bad boï
- name: format message
uses: actions/github-script@v6
uses: actions/github-script@v7
id: message
with:
script: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/regen-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
git push
- name: create summary (failure)
if: failure() && inputs.number != null
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
script: |
Expand All @@ -89,7 +89,7 @@ jobs:
fs.writeFileSync("summary.txt", body, "utf8");
- name: create summary (success)
if: inputs.number != null && steps.check-status.outputs.status != 0
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
script: |
Expand All @@ -100,7 +100,7 @@ jobs:
fs.writeFileSync("summary.txt", body, "utf8");
- name: create summary (no change)
if: inputs.number != null && steps.check-status.outputs.status == 0
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
script: |
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
app_id: ${{ secrets.GH_BOT_APP_ID }}
private_key: ${{ secrets.GH_BOT_PRIVATE_KEY }}
- name: report start
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
result-encoding: string
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
with:
name: summary.txt
- name: report job status
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
result-encoding: string
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/regen-pods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
git push
- name: create summary (failure)
if: failure() && inputs.number != null
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
script: |
Expand All @@ -94,7 +94,7 @@ jobs:
fs.writeFileSync("summary.txt", body, "utf8");
- name: create summary (success)
if: inputs.number != null && steps.check-status.outputs.status != 0
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
script: |
Expand All @@ -105,7 +105,7 @@ jobs:
fs.writeFileSync("summary.txt", body, "utf8");
- name: create summary (no change)
if: inputs.number != null && steps.check-status.outputs.status == 0
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
script: |
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
app_id: ${{ secrets.GH_BOT_APP_ID }}
private_key: ${{ secrets.GH_BOT_PRIVATE_KEY }}
- name: report start
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
result-encoding: string
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
with:
name: summary.txt
- name: report job status
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ steps.generate-token.outputs.token }}
result-encoding: string
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-final-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
if: ${{ !cancelled() }}
run: |
git push origin nightly --follow-tags
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: trigger nightly build of desktop
if: ${{ steps.desktop-version.outputs.version != steps.post-desktop-version.outputs.version }}
with:
Expand All @@ -92,7 +92,7 @@ jobs:
ref: "main",
workflow_id: "nightly-desktop.yml",
});
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: trigger nightly build of mobile
if: ${{ steps.mobile-version.outputs.version != steps.post-mobile-version.outputs.version }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
if: ${{ steps.mobile-changed.outputs.status != 0 || github.event_name == 'workflow_dispatch' && contains(fromJson('["LLM", "ALL"]'), inputs.app) }}
run: |
gh release create live-mobile@${{ steps.mobile-version.outputs.version }} -F ${{ steps.mobile-changelog.outputs.path }}
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: trigger release build for desktop
if: ${{ steps.desktop-changed.outputs.status != 0 || github.event_name == 'workflow_dispatch' && contains(fromJson('["LLD", "ALL"]'), inputs.app) }}
with:
Expand All @@ -135,7 +135,7 @@ jobs:
branch: "main"
}
});
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: trigger release build for mobile
if: ${{ steps.mobile-changed.outputs.status != 0 || github.event_name == 'workflow_dispatch' && contains(fromJson('["LLM", "ALL"]'), inputs.app) }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
run: |
git pull --rebase
git push origin ${{ inputs.ref }} --follow-tags
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: trigger prerelease build for desktop
if: ${{ steps.desktop-version.outputs.version != steps.post-desktop-version.outputs.version }}
with:
Expand All @@ -122,7 +122,7 @@ jobs:
ref: "${{ github.event_name == 'workflow_dispatch' && inputs.ref || github.ref_name }}",
}
});
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: trigger prerelease build of mobile
if: ${{ steps.mobile-version.outputs.version != steps.post-mobile-version.outputs.version }}
with:
Expand Down
2 changes: 1 addition & 1 deletion tools/actions/composites/bot/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
- uses: pnpm/action-setup@v2
with:
version: 9.4.0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20.11.0
cache: pnpm
Expand Down
4 changes: 2 additions & 2 deletions tools/actions/composites/setup-toolchain/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
steps:
# ⚠️ We have issues with the runners and proto,
# so for the moment we're not using it at all in the CI.
- uses: actions/setup-dotnet@v3.2.0
- uses: actions/setup-dotnet@v4
if: inputs.install-dotnet != ''
with:
dotnet-version: 2.1.816
Expand Down Expand Up @@ -79,7 +79,7 @@ runs:
region: ${{ inputs.region }}
use-fallback: false

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20.11.0
registry-url: "https://registry.npmjs.org"
Expand Down

0 comments on commit 42339b2

Please sign in to comment.