-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2431aa
commit eb125bf
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,18 +60,22 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "chrystinne" | ||
# Step 9: Commit das mudanças | ||
# Step 9: Commit das mudanças (com debug) | ||
- name: Commit changes | ||
run: | | ||
cd pr-repo | ||
git add datasets | ||
git status # Verifica se há mudanças detectadas pelo Git | ||
git diff # Mostra as diferenças nos arquivos para confirmação | ||
git add -f datasets # Força a adição dos arquivos modificados | ||
git commit -m "Add datasets from metadata generator" || echo "No changes to commit" | ||
git log -1 # Verifica o último commit para depuração | ||
# Step 10: Push do novo branch | ||
# Step 10: Push do novo branch (com debug) | ||
- name: Push changes | ||
run: | | ||
cd pr-repo | ||
git push origin metadata-update-branch || (git pull --rebase origin metadata-update-branch && git push origin metadata-update-branch) | ||
git branch -r # Lista os branches remotos para debug | ||
# Step 11: Criar um pull request | ||
- name: Create pull request | ||
|