github-actions

Send Project Issues to Teams

Build a GitHub ProjectV2 issue summary and send it to a Microsoft Teams channel as an Adaptive Card.

This action handles:

Inputs

Outputs

Required Permissions

Set permissions in the calling workflow/job:

permissions:
  contents: read
  issues: read
  repository-projects: read

Composite actions cannot define workflow/job permissions themselves.

Example

jobs:
  send-summary:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      issues: read
      repository-projects: read

    steps:
      - uses: actions/checkout@v4

      - name: Build and send project issue summary card
        uses: ./.github/actions/send-project-issues-to-teams
        with:
          github-token: $
          teams-webhook-url: $
          project-owner: DFE-Digital
          project-number: '85'
          label-filter: Service Request
          max-items: '25'

Behaviour Notes