Last active
February 6, 2024 18:59
-
-
Save archieedwards/1b8c553b7f99fcc27b97b8cd4a42cb5e to your computer and use it in GitHub Desktop.
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
name: Commit as rich person | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
commit: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set Up Git | |
run: | | |
git config user.name "Rich person" | |
git config user.email "richperson@gmail.com" | |
- name: Commit Changes | |
run: | | |
git commit -m "Automated commit" --allow-empty | |
git push origin HEAD:main --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment