2022-12-29 20:02:27 +02:00
|
|
|
name: generate-releases
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
2022-12-30 02:57:42 +02:00
|
|
|
generate:
|
2022-12-29 20:02:27 +02:00
|
|
|
permissions:
|
|
|
|
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-01-06 14:20:17 +02:00
|
|
|
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
2022-12-29 20:02:27 +02:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_PAT }}
|
|
|
|
- uses: arduino/setup-task@d665c6beebae46ff3f699d7b2fd3f1959de7153c # v1
|
|
|
|
- run: task docs:releases
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4
|
|
|
|
with:
|
|
|
|
commit_message: "chore: docs releases json auto-update"
|
|
|
|
branch: main
|
|
|
|
commit_user_name: actions-user
|
|
|
|
commit_user_email: actions@github.com
|
|
|
|
commit_author: actions-user <actions@github.com>
|