Skip to content

Commit

Permalink
update repo
Browse files Browse the repository at this point in the history
  • Loading branch information
alingse committed Jun 30, 2024
1 parent 9f23302 commit e5546fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
install_command: go install github.com/alingse/makezero@f6a823578e89de5cdfdfef50d4a5d9a09ade16dd
linter_command: makezero
includes: '["go", "github"]'
excludes: '["assigned by index", "funcall"]'
issue_id: 1
repo_url: ${{ inputs.repo_url }}
env:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/submit-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ run-name: "submit repo urls for run-repo.yml"

on:
workflow_dispatch:
inputs:
count:
description: |
total submit repo count
Default '1000'
default: "1000"
workflow:
description: |
the workflow to submit with each repo
Default 'run-repo.yml'
default: "run-repo.yml"

permissions:
actions: write
Expand All @@ -19,7 +30,7 @@ jobs:
with:
action: submit
submit_source_file: top.txt
submit_repo_count: 10
submit_workflow: run-repo.yml
submit_repo_count: ${{ inputs.count }}
submit_workflow: ${{ inputs.workflow }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e5546fd

Please sign in to comment.