refactor(wirepatterns): change area and diameter arguments to mm unit… #202
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
| name: "Run TODO to Issue" | |
| on: | |
| push: | |
| workflow_dispatch: | |
| inputs: | |
| MANUAL_COMMIT_REF: | |
| description: "The SHA of the commit to get the diff for" | |
| required: true | |
| MANUAL_BASE_REF: | |
| description: "By default, the commit entered above is compared to the one directly before it; to go back further, enter an earlier SHA here" | |
| required: false | |
| jobs: | |
| build: | |
| runs-on: "ubuntu-latest" | |
| permissions: | |
| contents: write | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: "actions/checkout@v5" | |
| - name: "TODO to Issue" | |
| uses: "alstr/todo-to-issue-action@v5" | |
| env: | |
| MANUAL_COMMIT_REF: ${{ inputs.MANUAL_COMMIT_REF }} | |
| MANUAL_BASE_REF: ${{ inputs.MANUAL_BASE_REF }} | |
| with: | |
| INSERT_ISSUE_URLS: "true" | |
| CLOSE_ISSUES: "true" | |
| - name: Set Git user | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Commit and Push Changes | |
| run: | | |
| git add -A | |
| if [[ `git status --porcelain` ]]; then | |
| git commit -m "Automatically added GitHub issue links to TODOs" | |
| git push origin main | |
| else | |
| echo "No changes to commit" | |
| fi |