-
Notifications
You must be signed in to change notification settings - Fork 2
66 lines (63 loc) · 2.17 KB
/
__pinact.yml
File metadata and controls
66 lines (63 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
# 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:
permissions: {}
runs-on: ubuntu-latest
steps:
- name: pinact
uses: LizardByte/actions/actions/pinact@4125866b7b655a6fe038b0e22a43a4c5d259af79 # v2026.417.35446
with:
dryRun: ${{ github.event.inputs.dryRun }}
gitAuthorEmail: ${{ secrets.GH_BOT_EMAIL }}
gitAuthorName: ${{ vars.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 }}