Pinact (all repos) #12
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
| --- | |
| # Run pinact on the org or a repo | |
| name: Pinact | |
| run-name: Pinact (${{ github.event.inputs.repo || 'all repos' }}) | |
| permissions: {} | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| dryRun: | |
| description: 'Dry run mode. If true, will not push changes or create pull requests.' | |
| required: false | |
| default: false | |
| type: boolean | |
| includeForks: | |
| description: | | |
| Include forked repositories when processing an organization. | |
| Has no effect when repo is specified. | |
| required: false | |
| default: false | |
| type: boolean | |
| pinactRepo: | |
| description: 'Repository to use for pinact. Allows using a fork. Format: owner/repo.' | |
| required: false | |
| default: 'suzuki-shunsuke/pinact' | |
| type: string | |
| pinactVersion: | |
| description: 'Version of pinact to use.' | |
| required: false | |
| default: 'latest' | |
| type: string | |
| repo: | |
| description: | | |
| Specific repository to run pinact on (only use the repo name, omit the owner). | |
| If specified, runs only on this repo instead of all org repos. | |
| required: false | |
| default: '' | |
| type: string | |
| jobs: | |
| pinact: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: pinact | |
| uses: LizardByte/actions/actions/pinact@9bf3ef783775e17fe6b8dde3585d94ec570b93c2 # v2026.212.22356 | |
| with: | |
| dryRun: ${{ github.event.inputs.dryRun }} | |
| gitAuthorEmail: ${{ secrets.GH_BOT_EMAIL }} | |
| gitAuthorName: ${{ secrets.GH_BOT_NAME }} | |
| githubOrg: ${{ github.repository_owner }} | |
| includeForks: ${{ github.event.inputs.includeForks }} | |
| pinactConfig: | | |
| --- | |
| version: 3 | |
| ignore_actions: | |
| - name: ${{ github.repository_owner }}/.* | |
| ref: master | |
| - name: Homebrew/actions/.* | |
| ref: main | |
| separator: " # " | |
| pinactRepo: ${{ github.event.inputs.pinactRepo }} | |
| pinactVersion: ${{ github.event.inputs.pinactVersion }} | |
| repo: ${{ github.event.inputs.repo && format('LizardByte/{0}', github.event.inputs.repo) || '' }} | |
| token: ${{ secrets.GH_BOT_TOKEN }} |