diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml index 318b5e4..1f47fb3 100644 --- a/.github/workflows/sync.yaml +++ b/.github/workflows/sync.yaml @@ -1,13 +1,17 @@ name: 🏗️ sync on: workflow_dispatch: + pull_request: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + DOCKER_NON_INTERACTIVE: true jobs: sync-hub: - runs-on: buildjet-2vcpu-ubuntu-2204 + #runs-on: buildjet-2vcpu-ubuntu-2204 + runs-on: ubuntu-latest steps: - name: checkout hub-doc repo uses: actions/checkout@v4 @@ -20,20 +24,20 @@ jobs: run: | cd ${{ github.workspace }}/hub-doc make sync - - name: create PR - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ secrets.TRAEFIKER_GITHUB_TOKEN }} - path: hub-doc - commit-message: "chore: update tutorials" - committer: "Traefiker " - author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" - signoff: false - branch: update-files-${{ github.ref_name }} - delete-branch: true - title: 'chore: update tutorials' - labels: kind/enhancement,status/2-needs-review - body: | - ### Motivation - - Update tutorials with latest verified code. + #- name: create PR + # uses: peter-evans/create-pull-request@v6 + # with: + # token: ${{ secrets.TRAEFIKER_GITHUB_TOKEN }} + # path: hub-doc + # commit-message: "chore: update tutorials" + # committer: "Traefiker " + # author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" + # signoff: false + # branch: update-files-${{ github.ref_name }} + # delete-branch: true + # title: 'chore: update tutorials' + # labels: kind/enhancement,status/2-needs-review + # body: | + # ### Motivation + # + # Update tutorials with latest verified code.