Skip to content

Commit

Permalink
build: add license-builder GitHub Action
Browse files Browse the repository at this point in the history
PR-URL: #35712
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
  • Loading branch information
bnb authored and targos committed Nov 3, 2020
1 parent 7bfa872 commit a9c0924
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/license-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: license update
on:
schedule:
# 00:00:00 every Monday
# https://crontab.guru/#0_0_*_*_1
- cron: "0 0 * * 1"
workflow_dispatch:

jobs:
update_routes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: "./tools/license-builder.sh" # run the license builder tool
- uses: gr2m/[email protected] # create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: "doc: run license-builder"
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."
commit-message: 'doc: run license-builder'
labels: meta

0 comments on commit a9c0924

Please sign in to comment.