Skip to content

Commit

Permalink
fix: bump all used GitHub Actions (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yogarine authored Feb 17, 2025
1 parent de3c174 commit ceddc19
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ description: 'Download translations and build the site'
runs:
using: composite
steps:
- uses: myparcelnl/actions/yarn-install@v3
- uses: myparcelnl/actions/yarn-install@v4

- name: 'Import latest translations'
shell: bash
run: yarn translations:import

- name: 'Handle build cache'
id: cache-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: src/.vuepress/dist
key: ${{ runner.os }}-build-${{ hashFiles('**/*.lock') }}-${{ hashFiles('src/**/*') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly-rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
upload:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/build

- uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v3
with:
path: src/.vuepress/dist

Expand All @@ -31,4 +31,4 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
assign-author:
runs-on: ubuntu-22.04
steps:
- uses: myparcelnl/actions/pr-assign-author@v3
- uses: myparcelnl/actions/pr-assign-author@v4
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
label:
runs-on: ubuntu-22.04
steps:
- uses: myparcelnl/actions/pr-label-by-review@v3
- uses: myparcelnl/actions/pr-label-by-review@v4
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: myparcelnl/actions/pr-validate-title-conventional@v3
- uses: myparcelnl/actions/pr-validate-title-conventional@v4
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}
18 changes: 9 additions & 9 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
upload:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/build

- uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v3
with:
path: src/.vuepress/dist

# deploy-s3:
# needs: upload
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/download-artifact@v3
# - uses: actions/download-artifact@v4
# with:
# name: github-pages
#
Expand All @@ -37,13 +37,13 @@ jobs:
# mkdir artifact
# tar -xf artifact.tar -C artifact
#
# - uses: myparcelnl/actions/aws-setup@v3
# - uses: myparcelnl/actions/aws-setup@v4
# with:
# region: ${{ secrets.AWS_DEFAULT_REGION }}
# access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
#
# - uses: myparcelnl/actions/aws-s3-sync@v3
# - uses: myparcelnl/actions/aws-s3-sync@v4
# with:
# source: artifact
# bucket: ${{ secrets.S3_BUCKET }}
Expand All @@ -61,20 +61,20 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

rebase-prs:
name: 'Rebase open pull requests'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: myparcelnl/actions/setup-app-credentials@v3
- uses: myparcelnl/actions/setup-app-credentials@v4
id: credentials
with:
app-id: ${{ secrets.MYPARCEL_APP_ID }}
private-key: ${{ secrets.MYPARCEL_APP_PRIVATE_KEY }}

- uses: peter-evans/rebase@v2
- uses: peter-evans/rebase@v3
with:
token: ${{ steps.credentials.outputs.token }}
2 changes: 1 addition & 1 deletion .github/workflows/reindex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: 'Trigger crawl'
runs-on: ubuntu-22.04
steps:
- uses: algolia/[email protected].9
- uses: algolia/[email protected].13
with:
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
test-build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.pull_request.head.ref }}

Expand Down

0 comments on commit ceddc19

Please sign in to comment.