-
Notifications
You must be signed in to change notification settings - Fork 20
63 lines (55 loc) · 1.92 KB
/
dependencies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: "Dependency Checker"
on:
schedule:
- cron: '0 0 * * *' # Every day
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
intellij:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: "Check out the sources"
uses: actions/checkout@v4
- id: update
uses: ForNeVeR/intellij-updater@v1
name: "Update the dependency versions"
- if: steps.update.outputs.has-changes == 'true' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
name: "Create a PR"
uses: peter-evans/create-pull-request@v7
with:
branch: ${{ steps.update.outputs.branch-name }}
author: "intellij-powershell automation <friedrich@fornever.me>"
commit-message: ${{ steps.update.outputs.commit-message }}
title: ${{ steps.update.outputs.pr-title }}
body-path: ${{ steps.update.outputs.pr-body-path }}
powershell-modules:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: "Check out the sources"
uses: actions/checkout@v4
- id: update
name: "Update the dependency versions"
shell: pwsh
run: ./src/scripts/Update-Dependencies.ps1
- if: steps.update.outputs.has-changes == 'true' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
name: "Create a PR"
uses: peter-evans/create-pull-request@v7
with:
branch: ${{ steps.update.outputs.branch-name }}
author: "intellij-powershell automation <friedrich@fornever.me>"
commit-message: ${{ steps.update.outputs.commit-message }}
title: ${{ steps.update.outputs.pr-title }}
body-path: ${{ steps.update.outputs.pr-body-path }}