Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 269b788

Browse files
authored
Merge pull request #38 from raxod502/rr-fix-github-actions
Fix GitHub Actions workflow config
2 parents 0c810a6 + 777ce44 commit 269b788

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Main
22
on:
3-
- push
4-
- pull_request_target
3+
push:
4+
branches:
5+
- main
6+
pull_request: {}
57
jobs:
68
ci:
79
strategy:
@@ -17,7 +19,7 @@ jobs:
1719
env:
1820
CI: true
1921
steps:
20-
- uses: actions/checkout@master
22+
- uses: actions/checkout@v3
2123
- uses: ruby/setup-ruby@v1
2224
with:
2325
bundler-cache: true
@@ -30,7 +32,7 @@ jobs:
3032
name: AutoMerge
3133
needs: ci
3234
runs-on: ubuntu-latest
33-
if: github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]'
35+
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]'
3436
steps:
3537
- uses: actions/github-script@v3
3638
with:

0 commit comments

Comments
 (0)