Skip to content

Commit

Permalink
feat: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Nov 23, 2024
1 parent 54944f2 commit baddf8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
GH_TOKEN: ${{ steps.get_installation_token.outputs.token }}
WHITELIST_FILES: ".github/ .husky/ .eslintrc .nvmrc .prettierrc .yarnrc.yml tsconfig.json"
ADDITIONAL_FILES: ${{ github.event.inputs.additional_files }}
BLACKLIST_FILES: ".github/workflows/deploy.yml"
BLACKLIST_FILES: ".github/workflows/sync-template.yml"
run: |
branch_name=$(git rev-parse --abbrev-ref HEAD)
original_remote=$(git remote get-url origin)
Expand Down Expand Up @@ -118,6 +118,10 @@ jobs:
# Push changes to the remote repository
git push "$original_remote" "$pr_branch"
# Debug PR listing
echo "PR Branch: $pr_branch"
echo "Base Branch: $branch_name"
# Check for existing pull requests
existing_pr=$(gh pr list --base "$branch_name" --head "$pr_branch" --state open --json id --jq '.[0].id')
Expand Down

0 comments on commit baddf8d

Please sign in to comment.