forked from lxqt/lxqt-about
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 1.08 KB
/
create_translators_pr.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
name: Create translators pull request action
on:
schedule:
- cron: "0 21 * * *"
repository_dispatch:
types: [translators-action]
jobs:
create_pr:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- run: "cd translators && ./make_list_clone.sh"
- run: "cd translators && ./make_list_mailmap.sh"
- run: "cd translators && ./make_list_gitlog.sh"
- run: "cd translators && ./make_list_info.sh"
- run: "cd translators && ./copy_info.sh"
- run: "cd translators && ./clean_list.sh"
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Created translators info from GitHub action"
title: "Update translators info from GitHub action"
body: "Create new translators_*.info"
branch: translators-action
- name: Check outputs
run: |
echo "Pull Request Number - ${{ env.PULL_REQUEST_NUMBER }}"
echo "Pull Request Number - ${{ steps.cpr.outputs.pr_number }}"