diff --git a/.github/workflows/bench-all-runtimes.yml b/.github/workflows/bench-all-runtimes.yml index fa36a6c2497..61f589274c6 100644 --- a/.github/workflows/bench-all-runtimes.yml +++ b/.github/workflows/bench-all-runtimes.yml @@ -133,7 +133,7 @@ jobs: path: patches # needs to be able to trigger CI - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v2 id: generate_token with: app-id: ${{ secrets.CMD_BOT_APP_ID }} diff --git a/.github/workflows/benchmarks-networking.yml b/.github/workflows/benchmarks-networking.yml index 8f4246c7954..b8cefc2ff9d 100644 --- a/.github/workflows/benchmarks-networking.yml +++ b/.github/workflows/benchmarks-networking.yml @@ -80,7 +80,7 @@ jobs: git config --global --add safe.directory '*' ls -lsR ./charts - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v2 id: app-token with: app-id: ${{ secrets.POLKADOTSDK_GHPAGES_APP_ID }} diff --git a/.github/workflows/benchmarks-subsystem.yml b/.github/workflows/benchmarks-subsystem.yml index 82aff7e694f..9026865409a 100644 --- a/.github/workflows/benchmarks-subsystem.yml +++ b/.github/workflows/benchmarks-subsystem.yml @@ -96,7 +96,7 @@ jobs: git config --global --add safe.directory '*' ls -lsR ./charts - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v2 id: app-token with: app-id: ${{ secrets.POLKADOTSDK_GHPAGES_APP_ID }} diff --git a/.github/workflows/cmd.yml b/.github/workflows/cmd.yml index 44a9a9f0611..144b6046693 100644 --- a/.github/workflows/cmd.yml +++ b/.github/workflows/cmd.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.CMD_BOT_APP_ID }} private-key: ${{ secrets.CMD_BOT_APP_KEY }} @@ -442,7 +442,7 @@ jobs: runs-on: ubuntu-latest steps: # needs to be able to trigger CI, as default token does not retrigger - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v2 id: generate_token with: app-id: ${{ secrets.CMD_BOT_APP_ID }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 24fb284780b..2fd01bf83a4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -122,7 +122,7 @@ jobs: - uses: actions/checkout@v4 with: ref: gh-pages - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@v2 id: app-token with: app-id: ${{ secrets.POLKADOTSDK_GHPAGES_APP_ID }} diff --git a/.github/workflows/misc-sync-templates.yml b/.github/workflows/misc-sync-templates.yml index c36e107e523..6bbafb09a06 100644 --- a/.github/workflows/misc-sync-templates.yml +++ b/.github/workflows/misc-sync-templates.yml @@ -119,7 +119,7 @@ jobs: if: matrix.template != 'solochain' - name: Generate a token for the template repository id: app_token - uses: actions/create-github-app-token@v1.9.3 + uses: actions/create-github-app-token@v2 with: owner: "paritytech" repositories: "polkadot-sdk-${{ matrix.template }}-template" diff --git a/.github/workflows/release-10_branchoff-stable.yml b/.github/workflows/release-10_branchoff-stable.yml index ced08da5a0a..565b4532a0f 100644 --- a/.github/workflows/release-10_branchoff-stable.yml +++ b/.github/workflows/release-10_branchoff-stable.yml @@ -54,7 +54,7 @@ jobs: - name: Generate content write token for the release automation id: generate_write_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ vars.RELEASE_AUTOMATION_APP_ID }} private-key: ${{ secrets.RELEASE_AUTOMATION_APP_PRIVATE_KEY }} diff --git a/.github/workflows/release-11_rc-automation.yml b/.github/workflows/release-11_rc-automation.yml index 0be671185c7..670b26191a5 100644 --- a/.github/workflows/release-11_rc-automation.yml +++ b/.github/workflows/release-11_rc-automation.yml @@ -38,7 +38,7 @@ jobs: - name: Generate content write token for the release automation id: generate_write_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ vars.RELEASE_AUTOMATION_APP_ID }} private-key: ${{ secrets.RELEASE_AUTOMATION_APP_PRIVATE_KEY }} diff --git a/.github/workflows/release-30_publish_release_draft.yml b/.github/workflows/release-30_publish_release_draft.yml index f61028cae91..0ff534b15d4 100644 --- a/.github/workflows/release-30_publish_release_draft.yml +++ b/.github/workflows/release-30_publish_release_draft.yml @@ -123,7 +123,7 @@ jobs: - name: Generate content write token for the release automation id: generate_write_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ vars.POLKADOT_SDK_RELEASE_RW_APP_ID }} private-key: ${{ secrets.POLKADOT_SDK_RELEASE_RW_APP_KEY }} @@ -165,7 +165,7 @@ jobs: - name: Generate content write token for the release automation id: generate_write_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ vars.POLKADOT_SDK_RELEASE_RW_APP_ID }} private-key: ${{ secrets.POLKADOT_SDK_RELEASE_RW_APP_KEY }} @@ -211,7 +211,7 @@ jobs: - name: Generate content write token for the release automation id: generate_write_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ vars.POLKADOT_SDK_RELEASE_RW_APP_ID }} private-key: ${{ secrets.POLKADOT_SDK_RELEASE_RW_APP_KEY }} diff --git a/.github/workflows/review-bot.yml b/.github/workflows/review-bot.yml index 27c6162a0fc..b36a6d25376 100644 --- a/.github/workflows/review-bot.yml +++ b/.github/workflows/review-bot.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Generate token id: app_token - uses: actions/create-github-app-token@v1.9.3 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.REVIEW_APP_ID }} private-key: ${{ secrets.REVIEW_APP_KEY }}