Skip to content

Update module github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 to v3.113.0 #1412

Update module github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 to v3.113.0

Update module github.com/pulumi/pulumi-dotnet/pulumi-language-dotnet/v3 to v3.113.0 #1412

Workflow file for this run

name: Check changelog
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
permissions:
contents: read
pull-requests: read
jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
- name: Verify a changelog fragment was added
if: ${{ !contains(github.event.pull_request.labels.*.name, 'impact/no-changelog-required') }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}
run: |
ADDED="$(gh api "repos/$REPO/pulls/$PR/files" --paginate \
--jq '.[] | select(.status == "added") | .filename' \
| grep '^\.changes/' | grep -v '/\.gitkeep$' || true)"
if [ -z "$ADDED" ]; then
echo "::error::No changelog fragment added under .changes/."
echo "Run \`changie new\` and commit the resulting file, or add the"
echo "\`impact/no-changelog-required\` label to skip this check."
exit 1
fi
echo "Found changelog change(s):"
echo "$ADDED"