Skip to content

Commit c1bb2c9

Browse files
authored
Trigger creating PR after push to update-scala-cli-setup branch (#18)
1 parent 487147b commit c1bb2c9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches:
4+
- "update-scala-cli-setup"
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
ssh-key: ${{ secrets.SCALA_CLI_SETUP_INTERNAL_KEY }}
13+
ref: main
14+
- name: Reset main branch
15+
run: |
16+
git fetch origin update-scala-cli-setup:update-scala-cli-setup
17+
git reset --hard update-scala-cli-setup
18+
- name: Create Pull Request
19+
uses: peter-evans/create-pull-request@v4
20+
with:
21+
branch: update-scala-cli
22+
commit-message: Update ScalaCLI
23+
author: GitHub <[email protected]>
24+
delete-branch: true
25+
title: Update ScalaCLI
26+

0 commit comments

Comments
 (0)