Second pass #7
This file contains hidden or 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: Initial Setup | |
| on: push | |
| permissions: | |
| contents: write | |
| jobs: | |
| start: | |
| runs-on: ubuntu-latest | |
| if: github.repository != 'AlmaLinux/atomic-respin-template' | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Run initial setup script | |
| run: | | |
| rm -rf \ | |
| .github/README.md \ | |
| .github/workflows/initial_setup.yml | |
| - name: Commit changes | |
| run: | | |
| git config --global user.name 'GitHub Actions' | |
| git config --global user.email '[email protected]' | |
| git commit -a -m "Initial setup: remove template files" | |
| git push |