forked from e-m-b-a/emba
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 1.08 KB
/
Copy pathupdate_version.yml
File metadata and controls
43 lines (40 loc) · 1.08 KB
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
name: Update EMBA VERSION.txt
permissions:
contents: read
pull-requests: write
on:
schedule:
- cron: '0 0 * * *' # do it every day
jobs:
update_version:
if: github.repository_owner == 'e-m-b-a'
runs-on: ubuntu-latest
steps:
- name: Checkout Branch
uses: actions/checkout@v3
- name: Install requirements
run: |
sudo apt-get update -y
- name: update VERSION.txt
run: |
./helpers/create_version.sh
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update EMBA VERSION.txt
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: update_version_txt
delete-branch: true
title: 'Update EMBA VERSION.txt'
body: |
Update report
- Nightly VERSION.txt update
labels: |
db_update
automated pr
milestone: 0
draft: false