Update Rule Metadata #3
Workflow file for this run
This file contains hidden or 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: Update Rule Metadata | |
| on: workflow_dispatch | |
| jobs: | |
| rule-metadata-update: | |
| runs-on: github-ubuntu-latest-s | |
| permissions: | |
| id-token: write | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Update Rule Metadata | |
| id: update-rule-metadata | |
| uses: SonarSource/release-github-actions/update-rule-metadata@v1 | |
| with: | |
| labels: '' | |
| rspec-token-suffix: 'rspec' | |
| - name: Check Rule Metadata Changes | |
| run: | | |
| if [ "${{ steps.update-rule-metadata.outputs.has-changes }}" == "true" ]; then | |
| echo "::notice title=Rule Metadata Changes::Changes detected and PR created: ${{ steps.update-rule-metadata.outputs.pull-request-url }}" | |
| else | |
| echo "::notice title=Rule Metadata Status::No changes to the rules metadata were detected" | |
| fi |