#74: Upgrading plugin to support IJ 2024 #142
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: Run PR Checks | |
on: [pull_request] | |
jobs: | |
check_changelog: | |
name: Verify Changelog Updated | |
runs-on: ubuntu-latest | |
steps: | |
- name: Verify Changelog Updated | |
uses: takanuva15/verify-file-updated@v1 | |
check_readme: | |
name: Verify Readme Updated | |
runs-on: ubuntu-latest | |
steps: | |
- name: Verify Readme Updated | |
uses: takanuva15/verify-file-updated@v1 | |
with: | |
excused_label: readme update optional | |
filename_to_check: README.md | |
check_contributing: | |
name: Verify Contributing Updated | |
runs-on: ubuntu-latest | |
steps: | |
- name: Verify Contributing Updated | |
uses: takanuva15/verify-file-updated@v1 | |
with: | |
excused_label: contributing update optional | |
filename_to_check: CONTRIBUTING.md | |
verify_pr_and_commit_messages: | |
name: Verify PR Title and Commit Message Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Verify Commit Message Format | |
uses: gsactions/commit-message-checker@v1 | |
with: | |
pattern: '^#\d{1,3}: \S+ \S+.*$' | |
error: > | |
The PR title and all git commit messages in the PR must follow this format: | |
"#<issue number>: <description of what the commit pertains to (2+ words, no newlines)>" | |
Example commit message: "#37: Add "print errors to console" option within the run config ui" | |
This format enables linking commit changes with the issue they are associated with and helps keep the git | |
history readable when performing searches. Please see CONTRIBUTING.md for more details. | |
checkAllCommitMessages: true | |
accessToken: ${{ secrets.GITHUB_TOKEN }} | |
qodana: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Run Qodana code inspections | |
- name: Run Qodana Code Inspection | |
uses: JetBrains/qodana-action@v2023.3.1 | |
# Collect Qodana Result | |
- name: Collect Qodana Result | |
uses: actions/upload-artifact@v2 | |
with: | |
name: qodana-result | |
path: ${{ github.workspace }}/qodana | |