From 0217788a24905745de447ecccc83f85b5df05df6 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Mon, 18 Mar 2024 17:58:49 +0100 Subject: [PATCH] Remove local experiments --- .github/workflows/docs.yaml | 53 ++----------------------------------- 1 file changed, 2 insertions(+), 51 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 63374fb..2bda44b 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -9,54 +9,5 @@ name: Docs jobs: - #docs: - # uses: kdeldycke/workflows/.github/workflows/docs.yaml@v3.4.0 - - - awesome-template-sync: - name: Sync awesome template - if: > - startsWith(github.event.repository.name, 'awesome-') - && github.event.repository.name != 'awesome-template' - runs-on: ubuntu-22.04 - # We need custom PAT through the whole job so we get workflow permissions to update all the boilerplate .github - # files from awesome-template. - steps: - - name: Initial checkout - uses: actions/checkout@v4.1.2 - with: - token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }} - fetch-depth: 0 - - name: Sync from template repo - id: template_sync - uses: AndreasAugustin/actions-template-sync@v2.0.0 - with: - github_token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }} - source_repo_path: kdeldycke/awesome-template - is_force_push_pr: true - is_pr_cleanup: true - is_allow_hooks: true - # Replace "/kdeldycke/awesome-template/" in URLs by "/kdeldycke/awesome-/". - hooks: > - precommit: - commands: - - find ./.github/ -type f -iregex ".*\.\(md\|yaml\)$" -print -exec sed -i - "s/\/kdeldycke\/awesome-template\//\/kdeldycke\/${{ github.event.repository.name }}\//g" "{}" \; - pr_title: "[sync] XXX Updates from `awesome-template`" - pr_commit_msg: "[sync] Updates from awesome-template" - pr_branch_name_prefix: "sync-awesome-template" - pr_body: > - Files synced from [`${{ env.SOURCE_REPO_PATH }}@${{ env.TEMPLATE_GIT_HASH }}` - repository](https://github.com/${{ env.SOURCE_REPO_PATH }}/tree/${{ env.TEMPLATE_GIT_HASH }}). - - -
Workflow metadata - - - > [Auto-generated on run `#${{ github.run_id }}`](${{ github.event.repository.html_url }}/actions/runs/${{ - github.run_id }}) by `${{ github.job }}` job from [`docs.yaml`](${{ github.event.repository.html_url - }}/blob/${{ github.sha }}/.github/workflows/docs.yaml) workflow. - - -
- pr_labels: "📚 documentation" \ No newline at end of file + docs: + uses: kdeldycke/workflows/.github/workflows/docs.yaml@v3.4.0 \ No newline at end of file