π Update Repository #58
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: π Update Repository | |
on: | |
workflow_dispatch: | |
jobs: | |
update: | |
name: UpdateRepository | |
# runs-on: arc-runner-set | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/checkout@v3 | |
with: | |
repository: dream-num/helm-chart-private | |
path: tmp | |
token: ${{ secrets.GH_TOKEN }} | |
- name: UpdateRepository | |
uses: technote-space/create-pr-action@v2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
EXECUTE_COMMANDS: | | |
ls tmp | |
rm -rf docker-compose | |
rm -rf charts/* | |
mv tmp/docker-compose . | |
mv tmp/charts/collaboration-demo charts/ | |
mv tmp/charts/collaboration-server charts/ | |
mv tmp/charts/univer-stack charts/ | |
mv tmp/charts/universer charts/ | |
mv tmp/charts/worker charts/ | |
mv tmp/charts/univer-observability charts/ | |
rm -rf tmp | |
COMMIT_MESSAGE: 'chore: update repository' | |
COMMIT_NAME: 'GitHub Actions' | |
PR_BRANCH_PREFIX: 'create-pr-action/' | |
PR_BRANCH_NAME: 'update-repository-${PR_ID}' | |
PR_TITLE: 'chore: update repository' |