Reduce scope of recipe resolvers #7200
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: 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: | |
| java_version: | | |
| 25 | |
| 21 | |
| recipe: 'org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPracticesSubset' | |