mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-02 02:02:23 +08:00
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 <Panquesito7@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/awesome_workflow.yml
vendored
4
.github/workflows/awesome_workflow.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user