37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
name: metadata
|
|
permissions:
|
|
contents: read
|
|
on:
|
|
schedule:
|
|
- cron: "24 5 * * 0"
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
|
|
with:
|
|
go-version: 1.18.x
|
|
- name: Checkout code
|
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Bootstrap
|
|
run: ./script/bootstrap
|
|
- name: Update Package Metadata
|
|
run: ./script/metadata
|
|
- name: Diff
|
|
run: git diff
|
|
- name: Generate
|
|
run: ./script/generate
|
|
- name: Diff
|
|
run: git diff
|
|
- name: Create Pull Request
|
|
uses: ./.github/actions/create-pull-request
|
|
with:
|
|
app_id: ${{ secrets.APP_ID }}
|
|
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
|
|
branch: auto-tests-thirdparty-update-metadata
|
|
title: "tests/thirdparty: update package metadata"
|
|
body: "Auto-generated update of third-party package metadata."
|