diff --git a/.github/workflows/triage_incoming.yml b/.github/workflows/triage_incoming.yml index 6ff719213..b374f659d 100644 --- a/.github/workflows/triage_incoming.yml +++ b/.github/workflows/triage_incoming.yml @@ -26,3 +26,37 @@ jobs: env: PROJECT_ID: "PVT_kwDOAM0swc4AMlHr" GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} + + move_element_x_issues: + name: ElementX issues to ElementX project board + runs-on: ubuntu-latest + # Skip in forks + if: > + github.repository == 'vector-im/element-x-ios' + steps: + - uses: octokit/graphql-action@v2.x + with: + headers: '{"GraphQL-Features": "projects_next_graphql"}' + query: | + mutation add_to_project($projectid:ID!,$contentid:ID!) { + addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) { + item { + id + } + } + } + projectid: ${{ env.PROJECT_ID }} + contentid: ${{ github.event.issue.node_id }} + env: + PROJECT_ID: "PVT_kwDOAM0swc4ABTXY" + GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} + + auto-assign: + runs-on: ubuntu-latest + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@v1 + with: + assignees: VolkerJunginger + numOfAssignee: 1 + allowSelfAssign: true diff --git a/.github/workflows/triage-labelled.yml b/.github/workflows/triage_labelled.yml similarity index 68% rename from .github/workflows/triage-labelled.yml rename to .github/workflows/triage_labelled.yml index b67d0b0a9..6722dccc5 100644 --- a/.github/workflows/triage-labelled.yml +++ b/.github/workflows/triage_labelled.yml @@ -5,30 +5,6 @@ on: types: [labeled] jobs: - move_element_x_issues: - name: ElementX issues to ElementX project board - runs-on: ubuntu-latest - # Skip in forks - if: > - github.repository == 'vector-im/element-x-ios' - steps: - - uses: octokit/graphql-action@v2.x - with: - headers: '{"GraphQL-Features": "projects_next_graphql"}' - query: | - mutation add_to_project($projectid:ID!,$contentid:ID!) { - addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) { - item { - id - } - } - } - projectid: ${{ env.PROJECT_ID }} - contentid: ${{ github.event.issue.node_id }} - env: - PROJECT_ID: "PVT_kwDOAM0swc4ABTXY" - GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} - ex_plorers: name: Add labelled issues to X-Plorer project runs-on: ubuntu-latest