-
Notifications
You must be signed in to change notification settings - Fork 18
150 lines (144 loc) · 7.07 KB
/
dependencyBot.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
name: dependencyBot
on:
schedule:
- cron: '06 08 * * *'
workflow_dispatch:
jobs:
# PRs must be closed and re-opened to trigger checks - see here: https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
CAMB:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.DEPLOY_APP_ID }}
private_key: ${{ secrets.DEPLOY_APP_PRIVATE_KEY }}
- uses: reviewdog/action-depup@v1
id: depup
with:
file: aux/dependencies.yml
version_name: camb
repo: cmbant/CAMB
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
commit-message: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
body: |
Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }})
This PR is auto generated by [dependencyBot](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}).
branch: depup/${{ steps.depup.outputs.repo }}
assignees: abensonca
token: ${{ steps.generate-token.outputs.token }}
forutils:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.DEPLOY_APP_ID }}
private_key: ${{ secrets.DEPLOY_APP_PRIVATE_KEY }}
- uses: reviewdog/action-depup@v1
id: depup
with:
file: aux/dependencies.yml
version_name: forutils
repo: cmbant/forutils
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
commit-message: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
body: |
Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }})
This PR is auto generated by [dependencyBot](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}).
branch: depup/${{ steps.depup.outputs.repo }}
assignees: abensonca
token: ${{ steps.generate-token.outputs.token }}
CLASS:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.DEPLOY_APP_ID }}
private_key: ${{ secrets.DEPLOY_APP_PRIVATE_KEY }}
- uses: reviewdog/action-depup@v1
id: depup
with:
file: aux/dependencies.yml
version_name: class
repo: lesgourg/class_public
tag: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
commit-message: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
body: |
Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }})
This PR is auto generated by [dependencyBot](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}).
branch: depup/${{ steps.depup.outputs.repo }}
assignees: abensonca
token: ${{ steps.generate-token.outputs.token }}
FSPS:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.DEPLOY_APP_ID }}
private_key: ${{ secrets.DEPLOY_APP_PRIVATE_KEY }}
- uses: reviewdog/action-depup@v1
id: depup
with:
file: aux/dependencies.yml
version_name: fsps
repo: cconroy20/fsps
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
commit-message: "fix(deps): update ${{ steps.depup.outputs.repo }} to ${{ steps.depup.outputs.latest }}"
body: |
Update ${{ steps.depup.outputs.repo }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.repo }}/releases/tag/v${{ steps.depup.outputs.latest }})
This PR is auto generated by [dependencyBot](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}).
branch: depup/${{ steps.depup.outputs.repo }}
assignees: abensonca
token: ${{ steps.generate-token.outputs.token }}
Cloudy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.DEPLOY_APP_ID }}
private_key: ${{ secrets.DEPLOY_APP_PRIVATE_KEY }}
- name: Check for dependency
id: depup
run: |
versionMajor=`curl --silent https://data.nublado.org/cloudy_releases/ | grep -o -E 'href="c[[:digit:]]*/">'| sed 's/href="c//;s/\/">//' | sort -g -k 1 | tail -1`
if [[ ! -z ${versionMajor} ]]; then
versionFull=`curl --silent https://data.nublado.org/cloudy_releases/c${versionMajor}/ | grep -o -E 'href="c[[:digit:]]*\.[[:digit:]]*\.tar\.gz">' | sed 's/href="c//;s/\.tar\.gz">//'`
if [[ ! -z ${versionFull} ]]; then
sed -i~ -r s/"^cloudy:\s+[0-9\.]+"/"cloudy: ${versionFull}"/ aux/dependencies.yml
fi
fi
echo "latest=${versionFull}" >> "$GITHUB_OUTPUT"
echo "branch=cloudy" >> "$GITHUB_OUTPUT"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: "fix(deps): update ${{ steps.depup.outputs.branch }} to ${{ steps.depup.outputs.latest }}"
commit-message: "fix(deps): update ${{ steps.depup.outputs.branch }} to ${{ steps.depup.outputs.latest }}"
body: |
Update ${{ steps.depup.outputs.branch }} to [${{ steps.depup.outputs.latest }}](https://github.com/${{ steps.depup.outputs.branch }}/releases/tag/v${{ steps.depup.outputs.latest }})
This PR is auto generated by [dependencyBot](https://github.com/${{ github.branchsitory }}/actions?query=workflow%3A${{ github.workflow }}).
branch: depup/${{ steps.depup.outputs.branch }}
assignees: abensonca
token: ${{ steps.generate-token.outputs.token }}