diff --git a/.github/workflows/update-pull-request.yml b/.github/workflows/update-pull-request.yml new file mode 100644 index 000000000000..62700b02314e --- /dev/null +++ b/.github/workflows/update-pull-request.yml @@ -0,0 +1,26 @@ +name: Actualización del repo oficial sobre la customización +on: + pull-request: + branches: + - 'release/*' +env: + kube-dash: https://github.com/kubernetes/dashboard + +jobs: + actualizar-sobre-ultimo-repo: + name: update + runs-on: ubuntu-latest + steps: + - name: Clonar última versión repo banco + uses: actions/checkout@v4 + with: + repository: bancolombia/kubernetes-dashboard + ref: ${GITHUB_REF} + - name: Actualizar rama respecto a repo oficial + run: | + git remote add kube-dash ${env.kube-dash} + git pull kube-dash ${GITHUB_REF} + git push origin ${GITHUB_REF} + + +