Skip to content

Commit

Permalink
use pat
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni committed Jan 28, 2025
1 parent 8b4b2df commit a7a9419
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ jobs:
with:
persist-credentials: false

- name: Generate GitHub token
uses: actions/create-github-app-token@v1
id: generate-token
with:
# GitHub App ID secret name
app-id: ${{ secrets.GH_APP_ID }}
# GitHub App private key secret name
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
# Set the owner, so the token can be used in all repositories
owner: ${{ github.repository_owner }}
# - name: Generate GitHub token
# uses: actions/create-github-app-token@v1
# id: generate-token
# with:
# # GitHub App ID secret name
# app-id: ${{ secrets.GH_APP_ID }}
# # GitHub App private key secret name
# private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
# # Set the owner, so the token can be used in all repositories
# owner: ${{ github.repository_owner }}

- name: Dry run
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GH_READ_ONLY_PAT }}
run: cargo run -- --only-print-plan github

0 comments on commit a7a9419

Please sign in to comment.