File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ # Run pinact on the org or a repo
3+
4+ name : Pinact
5+ permissions : {}
6+
7+ on :
8+ workflow_dispatch :
9+ inputs :
10+ dryRun :
11+ description : ' Dry run mode. If true, will not push changes or create pull requests.'
12+ required : false
13+ default : false
14+ type : boolean
15+ includeForks :
16+ description : |
17+ Include forked repositories when processing an organization.
18+ Has no effect when repo is specified.
19+ required : false
20+ default : false
21+ type : boolean
22+ pinactRepo :
23+ description : ' Repository to use for pinact. Allows using a fork. Format: owner/repo.'
24+ required : false
25+ default : ' suzuki-shunsuke/pinact'
26+ type : string
27+ pinactVersion :
28+ description : ' Version of pinact to use.'
29+ required : false
30+ default : ' latest'
31+ type : string
32+ repo :
33+ description : |
34+ Specific repository to run pinact on (only use the repo name, omit the owner).
35+ If specified, runs only on this repo instead of all org repos.
36+ required : false
37+ default : ' '
38+ type : string
39+
40+ jobs :
41+ pinact :
42+ runs-on : ubuntu-latest
43+ steps :
44+ - name : discord
45+ uses : LizardByte/actions/actions/pinact@master
46+ with :
47+ dryRun : ${{ github.event.inputs.dryRun }}
48+ gitAuthorEmail : ${{ secrets.GH_BOT_EMAIL }}
49+ gitAuthorName : ${{ secrets.GH_BOT_NAME }}
50+ githubOrg : ${{ github.repository_owner }}
51+ includeForks : ${{ github.event.inputs.includeForks }}
52+ pinactConfig : |
53+ ---
54+ version: 3
55+ ignore_actions:
56+ - name: ${{ github.repository_owner }}/.*
57+ ref: master
58+ separator: " # "
59+ pinactRepo : ${{ github.event.inputs.pinactRepo }}
60+ pinactVersion : ${{ github.event.inputs.pinactVersion }}
61+ repo : ' LizardByte/${{ github.event.inputs.repo }}'
62+ token : ${{ secrets.GH_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments