You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Zenn Metadata Updater
v1.0.6
This action allows caching dependencies and build outputs to improve workflow execution time.
See action.yml
Create a workflow .yml
file in your repositories .github/workflows
directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.
name: Create published=true pull request
on:
pull_request:
branches:
- main
types: [closed]
jobs:
create-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2 # Because if `fetch-depth >= 2` is not set, unchanged files will be updated.
- uses: korosuke613/zenn-metadata-updater-action@v1
with:
published: true
force-push: true
github-token: ${{ secrets.GITHUB_TOKEN }}
The scripts and documentation in this project are released under the MIT License