diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index c1f396c8b91c..86c64f192c6d 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -21,7 +21,7 @@ defaults: jobs: backport: name: Backport Pull Request - if: vars.NIXPKGS_CI_APP_ID && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport')) + if: vars.NIXPKGS_CI_CLIENT_ID && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport')) runs-on: ubuntu-slim timeout-minutes: 3 steps: @@ -30,7 +30,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index 42e5e4d4157d..96fda87479d0 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -57,10 +57,10 @@ jobs: # Use a GitHub App, because it has much higher rate limits: 12,500 instead of 5,000 req / hour. - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_APP_ID + if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_CLIENT_ID id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-administration: read permission-contents: write diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index c684865dc369..9b02309b6e84 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -31,10 +31,10 @@ jobs: # Use the GitHub App to make sure the reaction happens with the same user who will later merge. - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_APP_ID + if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_CLIENT_ID id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-pull-requests: write diff --git a/.github/workflows/edited.yml b/.github/workflows/edited.yml index d2fc40ec9830..f6dcb7e8807e 100644 --- a/.github/workflows/edited.yml +++ b/.github/workflows/edited.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-pull-requests: write diff --git a/.github/workflows/periodic-merge.yml b/.github/workflows/periodic-merge.yml index 4b10d88a59a5..3396816060c3 100644 --- a/.github/workflows/periodic-merge.yml +++ b/.github/workflows/periodic-merge.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index ecdd8732f522..c9400e770045 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -28,10 +28,10 @@ jobs: # Use the GitHub App to make sure the reaction happens with the same user who will later merge. - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 - if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_APP_ID + if: github.event_name != 'pull_request' && vars.NIXPKGS_CI_CLIENT_ID id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-pull-requests: write diff --git a/.github/workflows/teams.yml b/.github/workflows/teams.yml index 32a8808ba797..4617b9df5b56 100644 --- a/.github/workflows/teams.yml +++ b/.github/workflows/teams.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 id: app-token with: - app-id: ${{ vars.NIXPKGS_CI_APP_ID }} + client-id: ${{ vars.NIXPKGS_CI_CLIENT_ID }} private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-administration: read permission-contents: write