Skip to content

Auto label Microsoft contributors #1144

Auto label Microsoft contributors

Auto label Microsoft contributors #1144

name: Auto label Microsoft contributors
permissions:
pull-requests: write
contents: read
actions: read
on:
workflow_run:
workflows: [Background tasks]
types:
- completed
jobs:
download-payload:
if: github.repository_visibility == 'public'
name: Download and extract payload artifact
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-ExtractPayload.yml@workflows-prod
with:
WorkflowId: ${{ github.event.workflow_run.id }}
OrgRepo: ${{ github.repository }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}
label-msft:
name: Label Microsoft contributors
if: github.repository_visibility == 'public'
needs: [download-payload]
uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-AutoLabelMsftContributor.yml@workflows-prod

Check failure on line 29 in .github/workflows/AutoLabelMsftContributor.yml

View workflow run for this annotation

GitHub Actions / Auto label Microsoft contributors

Invalid workflow file

The workflow is not valid. .github/workflows/AutoLabelMsftContributor.yml (Line: 29, Col: 15): Secret ClientId is required, but not provided while calling. .github/workflows/AutoLabelMsftContributor.yml (Line: 29, Col: 15): Secret PrivateKey is required, but not provided while calling.
with:
PayloadJson: ${{ needs.download-payload.outputs.WorkflowPayload }}
secrets:
AccessToken: ${{ secrets.GITHUB_TOKEN }}
TeamReadAccessToken: ${{ secrets.ORG_READTEAMS_TOKEN }}