Skip to content

Commit

Permalink
refactor: Add concurrency group to automated code reviews
Browse files Browse the repository at this point in the history
Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/uQki1Qy59?organizationId=T3BlblJld3JpdGU%3D

Co-authored-by: Moderne <team@moderne.io>
  • Loading branch information
2 people authored and app committed Feb 28, 2024
1 parent 9ec6ed1 commit 283457d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/receive-pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
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
uses: openrewrite/gh-automation/.github/workflows/receive-pr.yml@main

0 comments on commit 283457d

Please sign in to comment.