Skip to content

Commit

Permalink
Merge pull request #43 from nkdAgility/topic/moretoapprobot
Browse files Browse the repository at this point in the history
Topic/moretoapprobot
  • Loading branch information
MrHinsh authored Jul 5, 2024
2 parents 2b2cd20 + fa9d0fb commit 119b4c1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
workflow_dispatch:

env:
APP_ID: "Iv23li9aYvt0VW9x4Jhh"
PRIVATE_KEY: ${{ secrets.NKDAGILITY_BOT_CLIENTSECRET }}

jobs:
Setup:
name: "Setup & Configuration"
Expand Down Expand Up @@ -75,6 +79,11 @@ jobs:
needs: [build, Setup]
if: ${{ success() && ( needs.Setup.outputs.GitVersion_PreReleaseLabel == 'Preview' || needs.Setup.outputs.GitVersion_PreReleaseLabel == '' ) }}
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ env.APP_ID }}
private-key: ${{ env.PRIVATE_KEY }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
Expand All @@ -96,7 +105,7 @@ jobs:
}
shell: pwsh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}



0 comments on commit 119b4c1

Please sign in to comment.