Skip to content

ci: revert

ci: revert #2

Workflow file for this run

name: 🤖 PR auto merge
on:
pull_request:
env:
PR_JOBS_NAME: '[ "Packages", "Demo", "Firebase", "Lint result", "tests", "E2E result" ]'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- 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/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
job: ${{ jobs.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]
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: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true