Initial Setup of Repository #933
Workflow file for this run
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: Initial Setup of Repository | |
on: | |
create: | |
concurrency: | |
group: init-setup | |
cancel-in-progress: true | |
permissions: | |
actions: write | |
checks: write | |
contents: write | |
jobs: | |
init-setup: | |
if: github.run_number == 1 && github.event.repository.name != 'plentyshop-pwa' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Remove unused files | |
run: | | |
rm -f .github/workflows/code-quality.yaml | |
rm -f apps/server/sonar-project.properties | |
rm -f apps/web/sonar-project.properties | |
rm -f .github/workflows/build-and-deploy.yaml | |
rm -f .github/workflows/initial-setup.yaml | |
rm -f .github/CODEOWNERS | |
rm -f .dockerignore | |
rm -rf .vuestorefrontcloud | |
- name: Commit changed files | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore: initial setup of repository" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |