Skip to content

generate-readme.md

generate-readme.md #15

Workflow file for this run

name: Update files with commit
on:
release:
types: [published]
workflow_dispatch:
inputs:
old:
description: The version before the current version
type: string
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: master
- name: Update files
uses: MathieuSoysal/[email protected]
with:
old-version: ${{ github.event.inputs.old }}
files: readme.md
with-checkout: false
- name: Push changes
uses: EndBug/add-and-commit@v9
with:
committer_name: GitHub Actions
committer_email: [email protected]
add: .
message: 'update files'