Skip to content

Commit

Permalink
updated error message if push failed
Browse files Browse the repository at this point in the history
  • Loading branch information
sampocs committed Sep 6, 2023
1 parent 4174ece commit e5b61a1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,21 @@ jobs:
if: ${{ steps.push.outcome == 'failure' }}
run: |
echo "Push failed. The token might be expired or have insufficient permissions. Please check your token."
echo "The token can be found in the 'dev-stride' account. To view the token, login to 'dev-stride' and go to:"
echo " -> Profile"
echo " -> Settings"
echo " -> Developer Settings"
echo " -> Personal Access Tokens"
echo " -> Tokens (classic)"
echo " -> 'GH Actions' Token"
echo ""
echo "If the token is expired, you can click on the token and then select 'Regenerate Token'"
echo "After regenerating a new token, you'll have to update the 'GH_ACTIONS_PAT' environment variable:"
echo " -> Navigate to the stride repo"
echo " -> Settings"
echo " -> Secrets and variables"
echo " -> Actions"
echo " -> Then modify 'GH_ACTIONS_PAT'"
exit 1
- name: Fetch New Branch
Expand Down

0 comments on commit e5b61a1

Please sign in to comment.