chore: update codecov/codecov-action action to v5.1.2 #314
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🤖 PR auto merge | |
on: | |
pull_request: | |
env: | |
JOBS_NAME: '[ "Build package", "Lint", "Tests", "E2E result" ]' | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.matrix.outputs.value }} | |
steps: | |
- uses: actions/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- id: matrix | |
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: actions/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/auto/approve/[email protected] | |
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' | |
with: | |
token1: ${{ secrets.GITHUB_TOKEN }} | |
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} | |
- uses: taiga-family/ci/actions/run/[email protected] | |
if: env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' | |
with: | |
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |