docs: rebrand catalog for cross-platform AI plugins #36
Workflow file for this run
This file contains hidden or 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: Plugin Claim Notice | |
| on: | |
| pull_request_target: | |
| types: | |
| - closed | |
| paths: | |
| - "README.md" | |
| - "plugins/**" | |
| workflow_dispatch: | |
| inputs: | |
| pr_number: | |
| description: "PR number to post claim notice on" | |
| required: true | |
| type: string | |
| pr_title: | |
| description: "PR title" | |
| required: true | |
| type: string | |
| pr_author: | |
| description: "PR author login" | |
| required: true | |
| type: string | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| jobs: | |
| post-claim-notice: | |
| if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true | |
| name: Post claim instructions | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Post claim notice | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_NUMBER: ${{ github.event.inputs.pr_number || github.event.pull_request.number }} | |
| PR_TITLE: ${{ github.event.inputs.pr_title || github.event.pull_request.title }} | |
| PR_AUTHOR: ${{ github.event.inputs.pr_author || github.event.pull_request.user.login }} | |
| REGISTRY_API: https://hol.org/registry/api/v1 | |
| run: python3 scripts/post-claim-notice.py |