Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

chore(deps): update taiga-family/ci action to v1.42.0 #90

chore(deps): update taiga-family/ci action to v1.42.0

chore(deps): update taiga-family/ci action to v1.42.0 #90

Workflow file for this run

name: 🤖 Auto approve validation
on: pull_request
env:
JOBS_NAME: '[ "ci" ]'
jobs:
setup:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- id: matrix
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true'
run: echo "value=$JOBS_NAME" >> $GITHUB_OUTPUT
wait:
needs: [setup]
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
value: ${{ fromJSON(needs.setup.outputs.matrix) }}
steps:
- uses: taiga-family/ci/actions/run/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ matrix.value }}
approve:
needs: [wait]
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/auto/approve/[email protected]
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
- uses: taiga-family/ci/actions/run/[email protected]
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
concurrency:
group: auto-approve-${{ github.head_ref }}
cancel-in-progress: true