Skip to content

Commit

Permalink
do not create chained PR
Browse files Browse the repository at this point in the history
  • Loading branch information
alchem0x2A committed Nov 28, 2024
1 parent 19090d6 commit efbde8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
echo "Thank you for keeping the SPARC-X-API project up-to-date! 🚀" >> pr_body.txt
cat pr_body.txt
- name: Create Pull Request
if: env.UPDATE_NEEDED == 'true'
# Do not create PR from another PR
if: (env.UPDATE_NEEDED == 'true') && (github.event_name != 'pull_request')
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Action Bot"
Expand Down

0 comments on commit efbde8e

Please sign in to comment.