diff --git a/.github/workflows/helm.yml b/.github/workflows/helm.yml index e4ab7790..20e34e74 100644 --- a/.github/workflows/helm.yml +++ b/.github/workflows/helm.yml @@ -17,9 +17,18 @@ jobs: release: runs-on: ubuntu-latest steps: + - name: Generate token + id: generate_token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ secrets.TEMPORAL_CICD_APP_ID }} + private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} + - name: Checkout uses: actions/checkout@v4 with: + token: ${{ steps.generate_token.outputs.token }} fetch-depth: 0 - name: Configure Git diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8e5b8f7..7ccc9a90 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,19 @@ jobs: release: runs-on: ubuntu-latest steps: + + - name: Generate token + id: generate_token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ secrets.TEMPORAL_CICD_APP_ID }} + private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} + - name: Checkout uses: actions/checkout@v4 with: + token: ${{ steps.generate_token.outputs.token }} fetch-depth: 0 - name: Set up Go