From 4d01feffabf0e02358af4dc0bd137b3ffc5106fc Mon Sep 17 00:00:00 2001 From: splincode Date: Tue, 3 Oct 2023 22:35:56 +0300 Subject: [PATCH] ci: add renovate and update actions --- .github/workflows/auto-add-to-project.yml | 2 +- .github/workflows/auto-approve.yml | 2 +- .github/workflows/auto-author-assign.yml | 2 +- .github/workflows/auto-cleanup-caches.yml | 4 ++-- .github/workflows/auto-dependency-review.yml | 2 +- .github/workflows/auto-label.yml | 4 ++-- .github/workflows/auto-remove-label.yml | 2 +- renovate.json | 4 ++++ 8 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 renovate.json diff --git a/.github/workflows/auto-add-to-project.yml b/.github/workflows/auto-add-to-project.yml index f50966b..8ca8b48 100644 --- a/.github/workflows/auto-add-to-project.yml +++ b/.github/workflows/auto-add-to-project.yml @@ -7,6 +7,6 @@ jobs: automate-project-columns: runs-on: ubuntu-latest steps: - - uses: taiga-family/ci/actions/setup-project@1.11.1 + - uses: taiga-family/ci/actions/setup/project@1.20.0 with: token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 5c8717c..f336e1a 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -11,7 +11,7 @@ jobs: 'renovate/')) steps: - uses: actions/checkout@v3 - - uses: taiga-family/ci/actions/two-approve@1.11.1 + - uses: taiga-family/ci/actions/auto/approve/double@1.20.0 with: token1: ${{ secrets.GITHUB_TOKEN }} token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index 14f96ca..ecd385f 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.6.0 - - uses: taiga-family/ci/actions/variables@1.11.1 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 - name: Auto assign if: env.IS_OWNER_MODE == 'true' diff --git a/.github/workflows/auto-cleanup-caches.yml b/.github/workflows/auto-cleanup-caches.yml index 42e17cb..f5ce691 100644 --- a/.github/workflows/auto-cleanup-caches.yml +++ b/.github/workflows/auto-cleanup-caches.yml @@ -13,11 +13,11 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v3.6.0 - - uses: taiga-family/ci/actions/cleanup-cache@1.11.1 + - uses: taiga-family/ci/actions/auto/cleanup-cache@1.20.0 if: github.event_name == 'push' with: branch-name: ${{ github.head_ref || github.ref_name }} - - uses: taiga-family/ci/actions/cleanup-cache@1.11.1 + - uses: taiga-family/ci/actions/auto/cleanup-cache@1.20.0 if: github.event_name == 'pull_request' with: branch-name: refs/pull/${{ github.event.pull_request.number }}/merge diff --git a/.github/workflows/auto-dependency-review.yml b/.github/workflows/auto-dependency-review.yml index bef7609..bf7bd07 100644 --- a/.github/workflows/auto-dependency-review.yml +++ b/.github/workflows/auto-dependency-review.yml @@ -9,4 +9,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.6.0 - - uses: taiga-family/ci/actions/dependency-review@1.11.1 + - uses: taiga-family/ci/actions/security/dependency-review@1.11.1 diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml index 21f0441..0681978 100644 --- a/.github/workflows/auto-label.yml +++ b/.github/workflows/auto-label.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.6.0 - - uses: taiga-family/ci/actions/variables@1.11.1 - - uses: taiga-family/ci/actions/label-when-approved@1.11.1 + - uses: taiga-family/ci/actions/setup/variables@1.20.0 + - uses: taiga-family/ci/actions/auto/label-when-approved@1.20.0 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/auto-remove-label.yml b/.github/workflows/auto-remove-label.yml index f817de6..616e76f 100644 --- a/.github/workflows/auto-remove-label.yml +++ b/.github/workflows/auto-remove-label.yml @@ -8,4 +8,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3.6.0 - - uses: taiga-family/ci/actions/auto-remove-label@1.11.1 + - uses: taiga-family/ci/actions/auto/remove-label@1.11.1 diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..bf23f49 --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>taiga-family/renovate-config"] +}