[Backport 2.x] Added custom sampler support based on action in request #120737
Workflow file for this run
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: "Changelog Verifier" | |
on: | |
pull_request: | |
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review, labeled, unlabeled] | |
jobs: | |
# Enforces the update of a changelog file on every pull request | |
verify-changelog: | |
if: github.repository == 'opensearch-project/OpenSearch' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: dangoslen/changelog-enforcer@v3 | |
with: | |
skipLabels: "autocut, skip-changelog" |