Skip to content

Commit

Permalink
ci: refactor skipped jobs to collapse successful job report
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Dec 27, 2023
1 parent c4481b3 commit 664bd6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
- 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: |
if [[ "${{ env.IS_RELEASE_BRANCH }}" == "false" ]]; then
echo "value=$PR_JOBS_NAME" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -42,11 +41,12 @@ jobs:
- uses: taiga-family/ci/actions/setup/[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_RELEASE_BRANCH == 'false'
if: ${{ env.IS_TAIGA_FAMILY_BOT_PR_AUTHOR == 'true' && env.IS_RELEASE_BRANCH == 'false' }}
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}

Expand Down

0 comments on commit 664bd6e

Please sign in to comment.