chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[n-s]* #1469
Workflow file for this run
This file contains 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: Milestones | |
on: | |
pull_request_target: | |
types: | |
- closed | |
permissions: | |
issues: write | |
pull-requests: write | |
jobs: | |
milestone_job: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
name: Assign milestones to PRs | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Assign milestone to PR | |
uses: srebhan/[email protected] | |
id: assign-milestone | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
bugfix-labels: 'fix,chore,docs,test' | |
minor-labels: 'feat' | |
major-labels: 'breaking change' | |
fallback: 'minor' | |
- name: Show milestone | |
run: echo "Assigned milestone is ${{ steps.assign-milestone.outputs.milestone }}" |