feat: Added labels to all images #71
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: 'Commit Checks' | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
jobs: | |
check-commit-message: | |
name: Check Commit Message | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get PR Commits | |
id: 'get-pr-commits' | |
uses: tim-actions/get-pr-commits@master | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check conventional commits | |
uses: tim-actions/[email protected] | |
with: | |
commits: ${{ steps.get-pr-commits.outputs.commits }} | |
pattern: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)' | |
error: 'Commit messages do not follow https://www.conventionalcommits.org/en/v1.0.0/' | |
- name: Get Changed Files | |
uses: tj-actions/[email protected] | |
- name: Check if CHANGELOG wasn't included | |
run: | | |
if echo ${{ steps.changed-files.outputs.all_changed_files }} | grep CHANGELOG.md; then | |
echo "::error file=CHANGELOG.md,title=CHANGELOG was modified::Please don't modify the changelog. It will be automatically updated when the changes are released." | |
fi |