Skip to content

Commit

Permalink
ワークフローファイルを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Gakuto1112 committed Nov 4, 2023
1 parent 3a84f62 commit efab3b5
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dispatch_readme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Dispatch README

on:
repository_dispatch:
types:
- dispatch_readme

jobs:
generate:
name: Generate README
permissions:
contents: write
strategy:
matrix:
target-branch: ${{ fromJSON(vars.TARGET_BRANCHES) }}
uses: Gakuto1112/FiguraAvatarsReadmeTemplate/.github/workflows/generate_my_figura_avatar_readme.yaml@main
with:
branch-name: ${{ matrix.target-branch }}
19 changes: 19 additions & 0 deletions .github/workflows/generate_readme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Generate README

on:
push:
branches:
- main
paths:
- .github/README_templates/**
- .github/README_images/**
- .github/workflows/generate_readme.yaml

jobs:
generate-readme:
name: Generate README
permissions:
contents: write
uses: Gakuto1112/FiguraAvatarsReadmeTemplate/.github/workflows/generate_my_figura_avatar_readme.yaml@main
with:
branch-name: ${{ github.ref_name }}

0 comments on commit efab3b5

Please sign in to comment.