Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a9c0924

Browse filesBrowse files
bnbtargos
authored andcommitted
build: add license-builder GitHub Action
PR-URL: #35712 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
1 parent 7bfa872 commit a9c0924
Copy full SHA for a9c0924

File tree

Expand file treeCollapse file tree

1 file changed

+22
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+22
-0
lines changed
Open diff view settings
Collapse file
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: license update
2+
on:
3+
schedule:
4+
# 00:00:00 every Monday
5+
# https://crontab.guru/#0_0_*_*_1
6+
- cron: "0 0 * * 1"
7+
workflow_dispatch:
8+
9+
jobs:
10+
update_routes:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- run: "./tools/license-builder.sh" # run the license builder tool
15+
- uses: gr2m/create-or-update-pull-request-action@v1.x # create a PR or update the Action's existing PR
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
title: "doc: run license-builder"
20+
body: "License is likely out of date. This is an automatically generated PR by the `license-builder.yml` GitHub Action, which runs `license-builder.sh` and submits a new PR or updates an existing PR."
21+
commit-message: 'doc: run license-builder'
22+
labels: meta

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.