Skip to content

feat: add colored logger #9

feat: add colored logger

feat: add colored logger #9

Workflow file for this run

name: 🤖 PR auto merge
on:
pull_request:
env:
PR_JOBS_NAME: '[ "ci" ]'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.0
- uses: taiga-family/ci/actions/setup/variables@v1.87.3
- id: jobs
run: |
if [[ "${{ env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR }}" == "true" ]]; then
echo "value=$PR_JOBS_NAME" >> $GITHUB_OUTPUT
else
echo "value=[]" >> $GITHUB_OUTPUT
fi
outputs:
jobs: ${{ steps.jobs.outputs.value }}
wait:
needs: [setup]
runs-on: ubuntu-latest
strategy:
fail-fast: true
jobs:

Check failure on line 29 in .github/workflows/auto-merge.yml

View workflow run for this annotation

GitHub Actions / 🤖 PR auto merge

Invalid workflow file

The workflow is not valid. .github/workflows/auto-merge.yml (Line: 29, Col: 7): Unexpected value 'jobs' .github/workflows/auto-merge.yml (Line: 35, Col: 16): Unrecognized named-value: 'jobs'. Located at position 1 within expression: jobs.value
value: ${{ fromJSON(needs.setup.outputs.jobs) }}
steps:
- uses: taiga-family/ci/actions/run/wait-job@v1.87.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ jobs.value }}
approve:
needs: [wait]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.0
- uses: taiga-family/ci/actions/setup/variables@v1.87.3
- uses: taiga-family/ci/actions/auto/approve/double@v1.87.3
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
- uses: taiga-family/ci/actions/run/merge@v1.87.3
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true