Collect agent info and apply the env for remote config #4631
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
name: Check snapshots | |
on: | |
- pull_request | |
jobs: | |
check-snapshots: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write # need to add a comment to a PR | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.101' | |
- name: "Check Snapshots" | |
run: ./github-actions-helpers/build.sh SummaryOfSnapshotChanges | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
PullRequestNumber: "${{ github.event.pull_request.number }}" | |
TargetBranch: "${{ github.base_ref }}" |