Commenting #115030
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This action comments on a PR by a community member with the expectations they | |
# should have for the process. It runs every five minutes to find uncommented | |
# community PRs targeting the main branch. It uses a markdown file in the | |
# .github folder for the content. | |
name: Commenting | |
on: | |
schedule: | |
- cron: 0/10 * * * * | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
Expectations: | |
name: Share Expectations on Community PRs | |
if: github.repository_owner == 'MicrosoftDocs' | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: pwsh | |
steps: | |
- name: Checkout Repository | |
id: checkout_repo | |
uses: actions/checkout@v4 | |
- name: Comment on Community PRs | |
uses: ./.github/actions/commenting/expectations/v1 | |
with: | |
message_path: .github/messages/expectations.md | |
token: ${{ github.token }} | |