diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index bcae272d8..08c8204f2 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -14,7 +14,7 @@ jobs: - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/variables@v1.29.19 - id: matrix - if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true' + if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' run: | if [[ "${{ env.IS_RELEASE_BRANCH }}" == "false" ]]; then echo "value=$PR_JOBS_NAME" >> $GITHUB_OUTPUT diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml index 459842363..acf384d40 100644 --- a/.github/workflows/auto-author-assign.yml +++ b/.github/workflows/auto-author-assign.yml @@ -8,7 +8,7 @@ jobs: name: PR author as an assignee runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/variables@v1.29.19 - uses: toshimaru/auto-author-assign@v2.0.1 if: env.IS_OWNER_MODE == 'true' diff --git a/.github/workflows/auto-cleanup-caches.yml b/.github/workflows/auto-cleanup-caches.yml index 5a5ed0464..0322cbec6 100644 --- a/.github/workflows/auto-cleanup-caches.yml +++ b/.github/workflows/auto-cleanup-caches.yml @@ -12,7 +12,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/auto/cleanup-cache@v1.29.19 if: github.event_name == 'push' with: diff --git a/.github/workflows/auto-dependency-review.yml b/.github/workflows/auto-dependency-review.yml index 6bfb18574..8a1143cee 100644 --- a/.github/workflows/auto-dependency-review.yml +++ b/.github/workflows/auto-dependency-review.yml @@ -8,5 +8,5 @@ jobs: dependency-review: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/security/dependency-review@v1.29.19 diff --git a/.github/workflows/auto-label.yml b/.github/workflows/auto-label.yml index 1ab9bb5f7..df04d9562 100644 --- a/.github/workflows/auto-label.yml +++ b/.github/workflows/auto-label.yml @@ -6,7 +6,7 @@ jobs: name: Label when approved runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/variables@v1.29.19 - uses: taiga-family/ci/actions/auto/label-when-approved@v1.29.19 with: diff --git a/.github/workflows/auto-remove-label.yml b/.github/workflows/auto-remove-label.yml index e9ea8b2e2..9f6bedde8 100644 --- a/.github/workflows/auto-remove-label.yml +++ b/.github/workflows/auto-remove-label.yml @@ -7,5 +7,5 @@ jobs: remove_label: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/auto/remove-label@v1.29.19 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 743b68983..a1f24923d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npx nx run-many --target build --all --exclude=demo @@ -19,7 +19,7 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npx nx build-gh-pages diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 034a5040a..753d3f208 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -25,11 +25,9 @@ jobs: env: IS_DRY_MODE: ${{ github.event.inputs.dryRun == 'true' }} steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 with: fetch-depth: 0 - persist-credentials: false - ref: ${{ github.head_ref }} token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - uses: taiga-family/ci/actions/setup/node@v1.29.19 - uses: taiga-family/ci/actions/setup/config/git@v1.29.19 diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index cd8a0d5a0..a4b19de64 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -10,7 +10,7 @@ jobs: name: Firebase runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npm run build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 437dca638..c14ee4687 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npx nx build-gh-pages - uses: JamesIves/github-pages-deploy-action@v4.4.3 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 575d24441..2d589252f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,7 +13,7 @@ jobs: name: Build demo runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 with: fetch-depth: 10 @@ -42,7 +42,7 @@ jobs: project: [date, date-range, date-time, number, time] name: Kit / ${{ matrix.project }} steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - name: Download demo build from cache @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest name: Recipes steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - name: Download demo build from cache @@ -90,7 +90,7 @@ jobs: runs-on: ubuntu-latest name: Others steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - name: Download demo build from cache diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7cfef9023..a02bf5946 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,62 +5,49 @@ jobs: typecheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npm run typecheck cspell: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npm run cspell -- --no-progress prettier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/variables@v1.29.19 - - uses: actions/checkout@v4.1.0 - if: env.SUPPORT_AUTO_PUSH == 'true' - with: - ref: ${{ github.head_ref }} - token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npm run prettier ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --write' || '-- --check' }} - uses: taiga-family/ci/actions/auto/push@v1.29.19 - if: env.SUPPORT_AUTO_PUSH == 'true' + with: + token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} stylelint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/variables@v1.29.19 - - uses: actions/checkout@v4.1.0 - if: env.SUPPORT_AUTO_PUSH == 'true' - with: - ref: ${{ github.head_ref }} - token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npm run stylelint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} - uses: taiga-family/ci/actions/auto/push@v1.29.19 - if: env.SUPPORT_AUTO_PUSH == 'true' + with: + token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} eslint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 - - name: Setup global variables - uses: taiga-family/ci/actions/setup/variables@v1.29.19 - - uses: actions/checkout@v4.1.0 - if: env.SUPPORT_AUTO_PUSH == 'true' - with: - ref: ${{ github.head_ref }} - token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 + - uses: taiga-family/ci/actions/setup/variables@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npm run lint ${{ env.SUPPORT_AUTO_PUSH == 'true' && '-- --fix' || '' }} - uses: taiga-family/ci/actions/auto/push@v1.29.19 - if: env.SUPPORT_AUTO_PUSH == 'true' + with: + token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} result: needs: [typecheck, cspell, prettier, stylelint, eslint] diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 97c1968b9..5d20d88d7 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,7 +12,7 @@ jobs: name: Publish runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npx nx run-many --target build --all --exclude=demo - run: npx nx run-many --target publish --all --exclude=demo diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ea0370c6..bfad12784 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.0 + - uses: taiga-family/ci/actions/setup/checkout@v1.29.19 - uses: taiga-family/ci/actions/setup/node@v1.29.19 - run: npx nx run-many --target test --all --coverage - uses: codecov/codecov-action@v3.1.4