release: PR for v0.7.1 (#5322) #117
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: chart-sync | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on publishing new release on main branch and in charts directory only | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'charts/**' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
sync: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
name: chart-sync | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: devtron-labs/git-repo-sync@master | |
with: | |
script-file: ${{ secrets.CHART_SYNC_SCRIPT_FILE }} | |
git-target-repo: ${{ secrets.GIT_TARGET_REPO }} | |
git-source-repo: ${{ secrets.GIT_SOURCE_REPO }} | |
git-target-useremail: ${{ secrets.GH_SYSTEMSDT_EMAIL }} | |
git-target-username: ${{ vars.GH_SYSTEMSDT_USERNAME }} | |
git-target-token: ${{ secrets.GH_SYSTEMSDT_TOKEN }} | |
git-target-dir: ${{ secrets.GIT_TARGET_DIR }} | |
git-source-dir: ${{ secrets.GIT_SOURCE_DIR }} | |
working-dir: ${{ secrets.WORKING_DIR }} | |
RELEASE_BRANCH: "main" |