Skip to content

Commit

Permalink
Add GitHub Action to pull scala-project-template
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Jul 1, 2023
1 parent 4614ec7 commit 08fb755
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/scala-project-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
branches-ignore:
- "update/**"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:

name: Update Scala project template

jobs:
update-scala-project-template:
permissions:
# for aws-actions/configure-aws-credentials to assume an AWS role
id-token: write
# for peter-evans/create-pull-request to create branch
contents: write
# for peter-evans/create-pull-request to create a PR
pull-requests: write
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
ref: template
repository: Atry/scala-project-template
- uses: peter-evans/create-pull-request@v5
with:
branch: update/${{github.ref_name}}/scala-project-template
title: Update scala-project-template
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}

0 comments on commit 08fb755

Please sign in to comment.