generated from technote-space/gh-actions-template
-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Describe the bug: バグの概要
The action creates a commit properly but given the flag CREATE_PR it doesn't create a PR with the ToC.
This was tested when pushing to a specific folder. I don't know if the CREATE_PR flag is working when no folder is specified.
To Reproduce: 再現手順
Steps to reproduce the behavior:
- Create a workflow that uses the CREATE_PR flag:
name: Update Table of Contents (ToC)
on:
push:
paths:
- docs/**
jobs:
generateTOC:
name: TOC Generator
runs-on: ubuntu-latest
steps:
- uses: technote-space/toc-generator@v4
with:
CREATE_PR: true
TARGET_PATHS: ./docs/*.md
- Push some changes to specified folder. The workflow will run and create a commit at the end of the PR that created the changes in the folder.
- Check github, the create PR prompt is not triggered.
Expected behavior: 期待する動作
A PR is opened with on:push event.
The flag works with on:pull_request event.
Additional context: 補足
This was tested on the following PR: wmde/wikidata-mismatch-finder#720
nils-a
Metadata
Metadata
Assignees
Labels
No labels