diff --git a/.github/workflows/comments.yml b/.github/workflows/comments.yml index 4466e21fefac..aff6b51ee2b3 100644 --- a/.github/workflows/comments.yml +++ b/.github/workflows/comments.yml @@ -7,12 +7,14 @@ permissions: repository-projects: write issues: write +# To fix the concurrency when for example more than one label is added concurrency: - group: ${{ github.event_name != 'issues' && github.event.number || github.event.issue.number }} + group: ${{ github.run_id }} cancel-in-progress: false jobs: comments_handler: + if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }} runs-on: ubuntu-latest steps: - name: Repo checkout diff --git a/.github/workflows/move-closed-issues.yml b/.github/workflows/move-closed-issues.yml index e5b66a474b9e..76ea6c477fad 100644 --- a/.github/workflows/move-closed-issues.yml +++ b/.github/workflows/move-closed-issues.yml @@ -11,12 +11,14 @@ permissions: issues: write repository-projects: write +# To fix the concurrency when for example more than one label is added concurrency: - group: ${{ github.event_name != 'issues' && github.event.number || github.event.issue.number }} + group: ${{ github.run_id }} cancel-in-progress: false jobs: send_to_solved: + if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }} runs-on: ubuntu-latest steps: - name: Repo checkout diff --git a/.github/workflows/moving-cards.yml b/.github/workflows/moving-cards.yml index 7d8b84273b53..34cc4cca79b3 100644 --- a/.github/workflows/moving-cards.yml +++ b/.github/workflows/moving-cards.yml @@ -9,13 +9,14 @@ permissions: repository-projects: read issues: write +# To fix the concurrency when for example more than one label is added concurrency: - # Cards are special - group: ${{ github.event.project_card.content_url }} + group: ${{ github.run_id }} cancel-in-progress: false jobs: label-card: + if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }} runs-on: ubuntu-latest steps: - name: Repo checkout @@ -52,6 +53,7 @@ jobs: add-labels: "solved" remove-labels: "in-progress, on-hold, triage" assign-assignee-if-needed: + if: ${{ github.actor != 'bitnami-bot' && (!contains(github.event.issue.labels.*.name, 'auto-merge')) }} runs-on: ubuntu-latest steps: - name: Repo checkout diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index ac452eb1a77a..e5de68c1f035 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -13,13 +13,15 @@ permissions: repository-projects: write issues: write +# To fix the concurrency when for example more than one label is added concurrency: - group: ${{ github.event_name != 'issues' && github.event.number || github.event.issue.number }} + group: ${{ github.run_id }} cancel-in-progress: false jobs: # For any opened or reopened issue, should be sent into Triage send_to_board: + if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }} runs-on: ubuntu-latest steps: - name: Repo checkout @@ -38,7 +40,6 @@ jobs: # creating env variable "on the fly" echo "TRIAGE_TEAM_STRING=$TRIAGE_TEAM_STRING" >> $GITHUB_ENV - name: Assign to a person to work on it - if: ${{ github.actor != 'bitnami-bot' }} uses: pozil/auto-assign-issue@v1.7.3 with: numOfAssignee: 1 @@ -47,7 +48,6 @@ jobs: # teams: XXX repo-token: "${{ secrets.GHPROJECT_TOKEN }}" - name: Send to the board - if: ${{ github.actor != 'bitnami-bot' }} uses: peter-evans/create-or-update-project-card@v2 with: project-name: Support