diff --git a/.changelog/new-github-pr-metadata-validation.yml b/.changelog/new-github-pr-metadata-validation.yml new file mode 100644 index 000000000..79c85f868 --- /dev/null +++ b/.changelog/new-github-pr-metadata-validation.yml @@ -0,0 +1 @@ +Experimental support from the core team to add a github action that checks that each PR includes changelog information and a metadata about the version bump required. diff --git a/.github/workflows/pr_validation.yml b/.github/workflows/pr_validation.yml new file mode 100644 index 000000000..c14c3ac0a --- /dev/null +++ b/.github/workflows/pr_validation.yml @@ -0,0 +1,14 @@ +name: PR Metadata Validation +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: PR Metadata Validation + uses: gazebo-tooling/pr-data-action@main + with: + token: ${{ secrets.GITHUB_TOKEN }} + changelog-dir: '.changelog'