This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
🐞 Update Bug Report #208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🐞 Update Bug Report | |
on: | |
workflow_dispatch: | |
release: | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release | |
types: [published] | |
jobs: | |
update-bug-report: | |
runs-on: ubuntu-latest | |
name: Update bug report | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.release.target_commitish }} | |
- name: Update version | |
uses: ynput/gha-populate-form-version@main | |
with: | |
github_token: ${{ secrets.YNPUT_BOT_TOKEN }} | |
registry: github | |
dropdown: _version | |
limit_to: 100 | |
form: .github/ISSUE_TEMPLATE/bug_report.yml | |
commit_message: 'chore(): update bug report / version' | |
dry_run: no-push | |
- name: Push to protected develop branch | |
uses: CasperWA/[email protected] | |
with: | |
token: ${{ secrets.YNPUT_BOT_TOKEN }} | |
branch: develop | |
unprotect_reviews: true |