diff --git a/.github/workflows/comments.yml b/.github/workflows/comments.yml index aff6b51ee2b3..3b7fc8bbd3b6 100644 --- a/.github/workflows/comments.yml +++ b/.github/workflows/comments.yml @@ -14,7 +14,7 @@ concurrency: jobs: comments_handler: - if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }} + if: ${{ github.actor != 'bitnami-bot' && ((github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge'))) || github.event_name == 'issues') }} runs-on: ubuntu-latest steps: - name: Repo checkout @@ -31,21 +31,21 @@ jobs: with: project-name: Support column-name: Pending - token: "${{ secrets.GHPROJECT_TOKEN }}" + token: "${{ secrets.GITHUB_TOKEN }}" - name: Move into In Progress uses: peter-evans/create-or-update-project-card@v2 if: ${{ contains(github.event.issue.labels.*.name, 'in-progress') && (!contains(fromJson(env.BITNAMI_TEAM), github.event.comment.user.login)) }} with: project-name: Support column-name: In progress - token: "${{ secrets.GHPROJECT_TOKEN }}" + token: "${{ secrets.GITHUB_TOKEN }}" - name: Move into Triage uses: peter-evans/create-or-update-project-card@v2 if: ${{ ((contains(github.event.issue.labels.*.name, 'triage')) || (contains(github.event.issue.labels.*.name, 'solved'))) && (!contains(fromJson(env.BITNAMI_TEAM), github.event.comment.user.login)) }} with: project-name: Support column-name: Triage - token: "${{ secrets.GHPROJECT_TOKEN }}" + token: "${{ secrets.GITHUB_TOKEN }}" - name: Label as triage back # Only if commented when solved if: ${{ contains(github.event.issue.labels.*.name, 'solved') }} diff --git a/.github/workflows/move-closed-issues.yml b/.github/workflows/move-closed-issues.yml index 76ea6c477fad..d60283662b1b 100644 --- a/.github/workflows/move-closed-issues.yml +++ b/.github/workflows/move-closed-issues.yml @@ -18,7 +18,7 @@ concurrency: jobs: send_to_solved: - if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }} + if: ${{ github.actor != 'bitnami-bot' }} runs-on: ubuntu-latest steps: - name: Repo checkout diff --git a/.github/workflows/moving-cards.yml b/.github/workflows/moving-cards.yml index 34cc4cca79b3..8275ee52ee99 100644 --- a/.github/workflows/moving-cards.yml +++ b/.github/workflows/moving-cards.yml @@ -16,7 +16,7 @@ concurrency: jobs: label-card: - if: ${{ github.actor != 'bitnami-bot' && github.event.pull_request && (!contains(github.event.pull_request.labels.*.name, 'auto-merge')) }} + if: ${{ github.actor != 'bitnami-bot' }} runs-on: ubuntu-latest steps: - name: Repo checkout diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index e5de68c1f035..6b1f7806a2e2 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -21,7 +21,7 @@ concurrency: 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')) }} + if: ${{ github.actor != 'bitnami-bot' }} runs-on: ubuntu-latest steps: - name: Repo checkout