File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 17
17
build :
18
18
runs-on : ubuntu-latest
19
19
steps :
20
- - uses : Vankka/pr-target-branch-action@v1.1
20
+ - uses : Vankka/pr-target-branch-action@v2
21
21
env :
22
22
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23
23
with :
41
41
build:
42
42
runs-on: ubuntu-latest
43
43
steps:
44
- - uses: Vankka/pr-target-branch-action@v1.1
44
+ - uses: Vankka/pr-target-branch-action@v2
45
45
with:
46
46
target: main
47
47
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
56
56
name: Make sure new PRs are sent to development
57
57
58
58
on:
59
- pull_request_target:
59
+ pull_request_target: # Please read https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ before using
60
60
types: [opened, edited]
61
61
62
62
jobs:
63
63
build:
64
64
runs-on: ubuntu-latest
65
65
steps:
66
- - uses: Vankka/pr-target-branch-action@v1.1
66
+ - uses: Vankka/pr-target-branch-action@v2
67
67
env:
68
68
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69
69
with:
You can’t perform that action at this time.
0 commit comments