Skip to content

Commit b8cc709

Browse files
committed
v2 in README
1 parent 69ab6dd commit b8cc709

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: Vankka/pr-target-branch-action@v1.1
20+
- uses: Vankka/pr-target-branch-action@v2
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
with:
@@ -41,7 +41,7 @@ jobs:
4141
build:
4242
runs-on: ubuntu-latest
4343
steps:
44-
- uses: Vankka/pr-target-branch-action@v1.1
44+
- uses: Vankka/pr-target-branch-action@v2
4545
with:
4646
target: main
4747
exclude: development # Don't prevent going from development -> main
@@ -56,14 +56,14 @@ Contains all the options, not necessarily a good configuration - see `already-ex
5656
name: Make sure new PRs are sent to development
5757
5858
on:
59-
pull_request_target:
59+
pull_request_target: # Please read https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ before using
6060
types: [opened, edited]
6161
6262
jobs:
6363
build:
6464
runs-on: ubuntu-latest
6565
steps:
66-
- uses: Vankka/pr-target-branch-action@v1.1
66+
- uses: Vankka/pr-target-branch-action@v2
6767
env:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969
with:

0 commit comments

Comments
 (0)