From 9736ce1c3c6bc3204fdbdf3eaddaff6bdfe8c9e3 Mon Sep 17 00:00:00 2001 From: splincode Date: Tue, 10 Dec 2024 15:51:25 +0300 Subject: [PATCH] ci: community contribution job doesn't work as expected --- .github/workflows/after-close-pr.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/after-close-pr.yml b/.github/workflows/after-close-pr.yml index 90103e91e6fe..15d468781eac 100644 --- a/.github/workflows/after-close-pr.yml +++ b/.github/workflows/after-close-pr.yml @@ -11,8 +11,8 @@ jobs: BRANCH: refs/pull/${{ github.event.number }}/merge steps: - uses: actions/checkout@v4.2.2 - continue-on-error: true - - run: | + - continue-on-error: true + run: | gh cache list --ref $BRANCH > cache.log && cat cache.log for cacheId in $(gh cache list --ref $BRANCH --json id | jq -r .[].id); do @@ -43,15 +43,3 @@ jobs: env: GCP_SA_KEY: ${{ secrets.FIREBASE_TAIGA_PREVIEWS_SA }} PROJECT_ID: taiga-previews - - community-contribution: - if: ${{ github.event.pull_request.head.repo.full_name != github.repository }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4.2.2 - - uses: actions-ecosystem/action-add-labels@v1.1.3 - if: ${{ github.event.pull_request.merged == true }} - with: - github_token: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }} - labels: | - community contribution