forked from atsign-foundation/atsign.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (44 loc) · 1.67 KB
/
UpdateLibraries.yml
File metadata and controls
47 lines (44 loc) · 1.67 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
44
45
46
47
name: UpdateLibraries
on:
workflow_dispatch:
schedule:
- cron: '15 14 * * *' # At 1415 daily
jobs:
check-for-library-changes:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2.3.4 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v2.3.2
with:
python-version: 3.9 #install the python needed
- name: execute detail_at.py
run: |
pip3 install requests pyyaml
git config --global user.name 'Library Action'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git pull
./.github/@automation/dart_at.py
./.github/@automation/flutter_at.py
env:
GITHUB_API_TOKEN: ${{ secrets.REPO_TOKEN }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.REPO_TOKEN }}
commit-message: Automated libraries.md update from pub.dev
committer: library-action[bot] <41898282+github-actions[bot]@users.noreply.github.com>
author: library-action[bot] <41898282+github-actions[bot]@users.noreply.github.com>
signoff: false
branch: library-patches
delete-branch: true
title: 'Automated libraries.md update'
body: |
New descriptions for libraries have been scraped from pub.dev
labels: |
atsign.dev 2.0
assignees: anthonyvprakash
reviewers: anthonyvprakash
draft: false