Proposal for Schema Improvements #124
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 | |
on: | |
pull_request: | |
push: | |
branches: [ 'push-action/**' ] # enable testing required checks, see https://github.com/CasperWA/push-protected?tab=readme-ov-file#update-your-workflow | |
workflow_call: | |
outputs: | |
release-type: | |
description: The release type extracted from changelog | |
value: ${{ jobs.validate-changelog.outputs.release-type }} | |
jobs: | |
validate-changelog: | |
if: github.base_ref == 'main' || github.base_ref == 'test-main' # check that changelog has valid unreleased changes only in PRs that could trigger a release | |
runs-on: [ ubuntu-latest ] | |
outputs: | |
release-type: ${{ steps.validate-changelog.outputs.release-type }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate changelog | |
id: validate-changelog | |
uses: OpenTermsArchive/changelog-action/[email protected] | |
with: | |
funders: true |