From fe692e8e010180b8fe686b197202bde192d5924e Mon Sep 17 00:00:00 2001 From: David Leal Date: Sat, 1 Jan 2022 20:46:47 -0600 Subject: [PATCH] fix: CI workflow not being able to commit to the `master` branch (#1840) * fix: CI workflow not being able to commit to... ...the `master` branch. This is due to the branch protection: we cannot add `github-actions` as administrator to skip the protection. So let's add my name which has administrator permissions, that should work. UNTESTED, might not work. * Let's test it * updating DIRECTORY.md Co-authored-by: David --- .github/workflows/awesome_workflow.yml | 4 ++-- DIRECTORY.md | 2 +- backtracking/{graph_coloring.cpp => graph_coloringg.cpp} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename backtracking/{graph_coloring.cpp => graph_coloringg.cpp} (100%) diff --git a/.github/workflows/awesome_workflow.yml b/.github/workflows/awesome_workflow.yml index 225f659e1..d9b405ec2 100644 --- a/.github/workflows/awesome_workflow.yml +++ b/.github/workflows/awesome_workflow.yml @@ -21,8 +21,8 @@ jobs: # The default installs v6.0 which did not work out well in my tests - name: Setup Git Specs run: | - git config --global user.name github-actions - git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com' + git config --global user.name David Leal + git config --global user.email 'Panquesito7@users.noreply.github.com' git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY - name: Filename Formatter run: | diff --git a/DIRECTORY.md b/DIRECTORY.md index 392415722..8ec4e216a 100644 --- a/DIRECTORY.md +++ b/DIRECTORY.md @@ -1,6 +1,6 @@ ## Backtracking - * [Graph Coloring](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/graph_coloring.cpp) + * [Graph Coloringg](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/graph_coloringg.cpp) * [Knight Tour](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/knight_tour.cpp) * [Magic Sequence](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/magic_sequence.cpp) * [Minimax](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/minimax.cpp) diff --git a/backtracking/graph_coloring.cpp b/backtracking/graph_coloringg.cpp similarity index 100% rename from backtracking/graph_coloring.cpp rename to backtracking/graph_coloringg.cpp