Skip to content

Commit

Permalink
fix: release token
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Jan 16, 2025
1 parent 7d86da7 commit cd6668c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/broadcast_api_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,9 @@ jobs:
- name: Install GitHub CLI
uses: dev-hanz-ops/[email protected]

- name: Generate a token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.RELEASER_APP_ID }}
private-key: ${{ secrets.RELEASER_APP_PRIVATE_KEY }}
repositories: "codecov/wrapper"

- name: Open issue on wrapper
run: |
gh issue create -R codecov/wrapper -t 'New change on CLI' -b "$(gh pr diff $BRANCH)"
env:
BRANCH: ${{ github.head_ref }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
GH_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}

0 comments on commit cd6668c

Please sign in to comment.