cds-1666 fix codeuri parameter in template #240
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: | |
types: [opened, synchronize, labeled, unlabeled] | |
branches: [master] | |
paths: | |
- "src/**" | |
- "Cargo.toml" | |
- "Cargo.lock" | |
- "template.yaml" | |
- "requirements.txt" | |
- "Makefile" | |
jobs: | |
get-label: | |
runs-on: ubuntu-latest | |
name: get label | |
outputs: | |
labels: "${{ steps.pr-labels.outputs.labels }}" | |
steps: | |
- name: Get PR labels | |
id: pr-labels | |
uses: joerick/[email protected] | |
check-changelog-updates: | |
if: "${{ needs.get-label.outputs.labels != ' skip-changelog ' }}" | |
runs-on: ubuntu-latest | |
needs: get-label | |
name: Check changelog update | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v41 | |
- name: Checking Files | |
if: ${{ steps.changed-files.outputs.all_changed_files != '' }} | |
run: | | |
chmod +x ./scripts/changelog_check.sh | |
./scripts/changelog_check.sh |