Add SortYaml recipe to streamline yaml files (gitlab ci, spring boot properties...) #2218
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: receive-pr | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- main | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.ref }}' | |
cancel-in-progress: true | |
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ | |
# Since this pull request receives untrusted code, we should **NOT** have any secrets in the environment. | |
jobs: | |
upload-patch: | |
uses: openrewrite/gh-automation/.github/workflows/receive-pr.yml@main | |
with: | |
recipe: 'org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPracticesSubset' |