Skip to content

Commit 08fb755

Browse files
committed
Add GitHub Action to pull scala-project-template
1 parent 4614ec7 commit 08fb755

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
push:
3+
branches-ignore:
4+
- "update/**"
5+
schedule:
6+
- cron: "0 0 * * 0"
7+
workflow_dispatch:
8+
9+
name: Update Scala project template
10+
11+
jobs:
12+
update-scala-project-template:
13+
permissions:
14+
# for aws-actions/configure-aws-credentials to assume an AWS role
15+
id-token: write
16+
# for peter-evans/create-pull-request to create branch
17+
contents: write
18+
# for peter-evans/create-pull-request to create a PR
19+
pull-requests: write
20+
runs-on: ubuntu-22.04
21+
steps:
22+
- uses: actions/checkout@v3
23+
with:
24+
ref: template
25+
repository: Atry/scala-project-template
26+
- uses: peter-evans/create-pull-request@v5
27+
with:
28+
branch: update/${{github.ref_name}}/scala-project-template
29+
title: Update scala-project-template
30+
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}

0 commit comments

Comments
 (0)