From b3b8c78c08366d69db52553221cf30c0cae1d508 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 27 Jan 2024 14:23:40 +0100 Subject: [PATCH] Upgrade: Bump the actions group with 5 updates (#45) Bumps the actions group with 5 updates: | Package | From | To | | --- | --- | --- | | [tibdex/github-app-token](https://github.com/tibdex/github-app-token) | `1` | `2` | | [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) | `2` | `3` | | [actions/checkout](https://github.com/actions/checkout) | `3` | `4` | | [actions/setup-python](https://github.com/actions/setup-python) | `4` | `5` | | [OpenTTD/actions](https://github.com/openttd/actions) | `4` | `5` | Updates `tibdex/github-app-token` from 1 to 2 - [Release notes](https://github.com/tibdex/github-app-token/releases) - [Commits](https://github.com/tibdex/github-app-token/compare/v1...v2) Updates `peter-evans/repository-dispatch` from 2 to 3 - [Release notes](https://github.com/peter-evans/repository-dispatch/releases) - [Commits](https://github.com/peter-evans/repository-dispatch/compare/v2...v3) Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) Updates `actions/setup-python` from 4 to 5 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) Updates `OpenTTD/actions` from 4 to 5 - [Release notes](https://github.com/openttd/actions/releases) - [Commits](https://github.com/openttd/actions/compare/v4...v5) --- updated-dependencies: - dependency-name: tibdex/github-app-token dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: peter-evans/repository-dispatch dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: OpenTTD/actions dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/new-openttd-release.yml | 9 +++++---- .github/workflows/openttd-nightly.yml | 7 ++++--- .github/workflows/publish-docs.yml | 2 +- .github/workflows/rw-eints-sync.yml | 11 ++++++----- .github/workflows/testing.yml | 10 +++++----- .github/workflows/update-cdn.yml | 11 ++++++----- 6 files changed, 27 insertions(+), 23 deletions(-) diff --git a/.github/workflows/new-openttd-release.yml b/.github/workflows/new-openttd-release.yml index 5bd969f..0e3f120 100644 --- a/.github/workflows/new-openttd-release.yml +++ b/.github/workflows/new-openttd-release.yml @@ -32,14 +32,15 @@ jobs: - name: Generate access token id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 with: app_id: ${{ secrets.DEPLOYMENT_APP_ID }} private_key: ${{ secrets.DEPLOYMENT_APP_PRIVATE_KEY }} - repository: OpenTTD/workflows + installation_retrieval_mode: "repository" + installation_retrieval_payload: "OpenTTD/workflows" - name: Trigger 'update CDN' - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ steps.generate_token.outputs.token }} repository: OpenTTD/workflows @@ -49,7 +50,7 @@ jobs: # Docs we publish are always based on the master. - if: github.event.action == 'new-master' name: Trigger 'publish docs' - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ steps.generate_token.outputs.token }} repository: OpenTTD/workflows diff --git a/.github/workflows/openttd-nightly.yml b/.github/workflows/openttd-nightly.yml index 9e0e6dd..a0e9cbe 100644 --- a/.github/workflows/openttd-nightly.yml +++ b/.github/workflows/openttd-nightly.yml @@ -35,15 +35,16 @@ jobs: - name: Generate access token if: steps.new_commit.outputs.build_nightly != '0' id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 with: app_id: ${{ secrets.DEPLOYMENT_APP_ID }} private_key: ${{ secrets.DEPLOYMENT_APP_PRIVATE_KEY }} - repository: OpenTTD/OpenTTD + installation_retrieval_mode: "repository" + installation_retrieval_payload: "OpenTTD/OpenTTD" - name: Trigger 'Build nightly' if: steps.new_commit.outputs.build_nightly != '0' - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ steps.generate_token.outputs.token }} repository: OpenTTD/OpenTTD diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index b249a2a..a55dae7 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -43,7 +43,7 @@ jobs: fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare docs shell: bash diff --git a/.github/workflows/rw-eints-sync.yml b/.github/workflows/rw-eints-sync.yml index fefa2eb..e07dcd6 100644 --- a/.github/workflows/rw-eints-sync.yml +++ b/.github/workflows/rw-eints-sync.yml @@ -41,27 +41,28 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout eints - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: OpenTTD/eints - name: Generate access token id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 with: app_id: ${{ secrets.EINTS_APP_ID }} private_key: ${{ secrets.EINTS_APP_PRIVATE_KEY }} - repository: ${{ inputs.repository }} + installation_retrieval_mode: "repository" + installation_retrieval_payload ${{ inputs.repository }} - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ${{ inputs.repository }} path: scripts/${{ inputs.project }} token: ${{ steps.generate_token.outputs.token }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 108ce43..b55e4f2 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -15,13 +15,13 @@ concurrency: jobs: flake8: name: Flake8 - uses: OpenTTD/actions/.github/workflows/rw-py-flake8.yml@v4 + uses: OpenTTD/actions/.github/workflows/rw-py-flake8.yml@v5 with: python-path: cdn/cdn_generator black: name: Black - uses: OpenTTD/actions/.github/workflows/rw-py-black.yml@v4 + uses: OpenTTD/actions/.github/workflows/rw-py-black.yml@v5 with: python-path: cdn/cdn_generator python-version: 3.8 @@ -33,10 +33,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -50,4 +50,4 @@ jobs: - flake8 - black - uses: OpenTTD/actions/.github/workflows/rw-annotation-check.yml@v4 + uses: OpenTTD/actions/.github/workflows/rw-annotation-check.yml@v5 diff --git a/.github/workflows/update-cdn.yml b/.github/workflows/update-cdn.yml index a464467..62d78cd 100644 --- a/.github/workflows/update-cdn.yml +++ b/.github/workflows/update-cdn.yml @@ -36,10 +36,10 @@ jobs: fi - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 @@ -79,14 +79,15 @@ jobs: - name: Generate access token id: generate_token - uses: tibdex/github-app-token@v1 + uses: tibdex/github-app-token@v2 with: app_id: ${{ secrets.DEPLOYMENT_APP_ID }} private_key: ${{ secrets.DEPLOYMENT_APP_PRIVATE_KEY }} - repository: OpenTTD/website + installation_retrieval_mode: "repository" + installation_retrieval_payload: "OpenTTD/website" - name: Trigger 'publish website' - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ steps.generate_token.outputs.token }} repository: OpenTTD/website