feat(rules_check): validate the option examples for rules (#4542) #1
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
on: | |
push: | |
branches: [ main ] | |
name: Prepare Release PR | |
permissions: | |
actions: write | |
contents: write | |
pull-requests: write | |
jobs: | |
prepare-release: | |
if: "!contains(github.event.head_commit.message, 'chore: prepare release')" # Skip merges from releases | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config --global user.name GitHub Actions | |
git config user.email [email protected] | |
- uses: knope-dev/action@407e9ef7c272d2dd53a4e71e39a7839e29933c48 # v2.1.0 | |
with: | |
version: 0.16.2 | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: knope prepare-release --verbose | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
continue-on-error: true |