Skip to content

Commit fe692e8

Browse files
authored
fix: CI workflow not being able to commit to the master branch (TheAlgorithms#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 <Panquesito7@users.noreply.github.com>
1 parent 946cb99 commit fe692e8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/awesome_workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
# The default installs v6.0 which did not work out well in my tests
2222
- name: Setup Git Specs
2323
run: |
24-
git config --global user.name github-actions
25-
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
24+
git config --global user.name David Leal
25+
git config --global user.email 'Panquesito7@users.noreply.github.com'
2626
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
2727
- name: Filename Formatter
2828
run: |

DIRECTORY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
## Backtracking
3-
* [Graph Coloring](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/graph_coloring.cpp)
3+
* [Graph Coloringg](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/graph_coloringg.cpp)
44
* [Knight Tour](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/knight_tour.cpp)
55
* [Magic Sequence](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/magic_sequence.cpp)
66
* [Minimax](https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/backtracking/minimax.cpp)

0 commit comments

Comments
 (0)