Skip to content

Commit

Permalink
Added token to both auth and release
Browse files Browse the repository at this point in the history
  • Loading branch information
tkakar committed Jan 28, 2025
1 parent b9a8d8d commit f0bee96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2


- name: Authenticate GitHub CLI
run: gh auth login --with-token
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run Release Script
run: ./create_release.sh
env:
Expand Down
1 change: 1 addition & 0 deletions create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ generate_release_notes() {
for change in "${version_changes[@]}"; do
release_notes+="$change\n"
done
echo -e "Release notes: \n $release_notes"
}

# Ensure HEAD is valid
Expand Down

0 comments on commit f0bee96

Please sign in to comment.