-
Notifications
You must be signed in to change notification settings - Fork 7
Shared actions 🔥 #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
emphasize
wants to merge
357
commits into
main
Choose a base branch
from
feat/shared_actions1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
357 commits
Select commit
Hold shift + click to select a range
1ab5158
test
emphasize edbeb4e
test
emphasize a5b8eec
test
emphasize e2b40e5
test
emphasize 4b858d0
test
emphasize e335091
test
emphasize afbc460
test
emphasize 4426abd
test
emphasize 7e82fbb
test
emphasize f274f7e
test
emphasize 97bfa3c
test
emphasize 635fc1f
test
emphasize 10252eb
toss commented osm test
emphasize e74e45d
prototype package handling
emphasize 87c2f51
ensure correct working dir
emphasize 17b643d
resource testing consolidation
emphasize 89189bc
update to use v2 test resource routine
emphasize 1b00df0
readme fixes
emphasize 020c430
test
emphasize bc3379b
test
emphasize a4dcd45
test
emphasize 85552e1
test
emphasize fc2fb42
test
emphasize 759957d
test
emphasize 4f0458d
test
emphasize 9377802
test
emphasize bafd49d
test
emphasize 54678ad
test
emphasize 23b33bc
test
emphasize 35728eb
split scripts
emphasize 6e0af6a
test
emphasize 365e146
test
emphasize a5bb4ee
test
emphasize fe760b1
adjust readme
emphasize aef6aec
test
emphasize d7b398a
test
emphasize ad4598c
test
emphasize f2f6e81
license checking include pre releases
emphasize 402c407
license checking add verbosity
emphasize a0e01cd
conventional commits
emphasize 8b243f8
readme adjustments
emphasize 4236154
readme
emphasize d04b554
readme edits
emphasize 3e4c2b8
readme edits
emphasize 09dc5b4
tests
emphasize 0398bb6
tests
emphasize 8f8a620
tests
emphasize 15c9576
tests
emphasize 09f1ce2
tests
emphasize 503c536
tests
emphasize 7e70338
tests
emphasize 10919d9
tests
emphasize 7af13f1
tests
emphasize 1f9b505
tests
emphasize ea835a2
tests
emphasize 554ff1b
tests
emphasize a487e56
tests
emphasize 8606df7
tests
emphasize 5214d25
tests
emphasize 0a9d56e
tests
emphasize e4fd5e4
tests
emphasize 77e94e1
tests
emphasize fcd2593
tests
emphasize 59003b1
tests
emphasize e26a97a
tests
emphasize fc5beb6
fix: bump
emphasize 55ccf22
tests
emphasize 48f3114
tests
emphasize b280d4e
tests
emphasize 901b2e7
tests
emphasize 1b54fc8
tests
emphasize 1d3e1fc
tests
emphasize b49f5ee
tests
emphasize 3706beb
adjusted semver cycle script
emphasize 1d0fc89
fix cycle script
emphasize 5f9329d
tests
emphasize f7690ba
tests
emphasize 293a360
tests
emphasize 9a3de39
fixes
emphasize 1a1832c
tests
emphasize 06e56e5
tests
emphasize 8a6e44b
tests
emphasize 1009b98
release version script
emphasize f849971
release cycle script
emphasize 8989922
tests
emphasize 98dc9c2
release version script
emphasize fb7c188
coming close
emphasize 174e685
tests
emphasize 40322a1
tests
emphasize c2931b1
tests
emphasize 1fad698
tests
emphasize c8c8e2a
tests
emphasize 1bb2e77
tests
emphasize 2f96d1f
tests
emphasize 68411e6
tests
emphasize c0ffefd
tests
emphasize a4a17d7
tests
emphasize 7f36f1b
tests
emphasize a745f15
tests
emphasize c4a4975
tests
emphasize 9e0dda9
tests
emphasize 917788b
tests
emphasize cf9d9c3
tests
emphasize 0a6a87a
tests
emphasize cea9f6b
tests
emphasize 14952a6
tests
emphasize ad10552
tests
emphasize 7ec9b4c
tests
emphasize 4e5bab5
tests
emphasize 3e2a51c
tests
emphasize a260b12
tests
emphasize 34104fe
tests
emphasize 98e778a
tests
emphasize 5bc95f4
tests
emphasize 3da2629
tests
emphasize 7077640
tests
emphasize 032df84
tests
emphasize b16f922
tests
emphasize 376e9de
tests
emphasize d8eee7c
tests
emphasize 97272d5
tetst
emphasize c5610c3
tests
emphasize 07dc45c
tests
emphasize 26a0579
tests
emphasize cc7fc25
tests
emphasize 8588385
tests
emphasize adfe690
tests
emphasize 811c3a6
tests
emphasize 80b4363
tests
emphasize 7238983
tests
emphasize 582dec9
tests
emphasize 04aadd9
tests
emphasize 4423dea
tests
emphasize b8ceb2e
tests
emphasize 97867f5
test
emphasize aa20eac
tests
emphasize 6f23c15
tests
emphasize 2785469
tests
emphasize 8a4e90d
tests
emphasize f7da584
tests
emphasize 36ace76
tests
emphasize 391e97b
tests
emphasize 7dea1fb
tests
emphasize f74d243
tests
emphasize 581437e
tests
emphasize 09cd260
tests
emphasize 2de9e9e
tests
emphasize 38664f5
tests
emphasize 3f48730
tests
emphasize a86975b
tests
emphasize a6ed4a3
tests
emphasize e66d8eb
tests
emphasize d6376a2
tests
emphasize e68f64e
tests
emphasize b9972a5
tests
emphasize f83d52e
tests
emphasize 5a82c89
tests
emphasize a739a15
tests
emphasize 68c76e6
tests
emphasize f7cbe83
tests
emphasize c2c9476
tests
emphasize 6338d26
tests
emphasize 56825bf
tests
emphasize 84b08bd
tests
emphasize 6cd6025
tests
emphasize ae5c5f5
tests
emphasize 03132af
tests
emphasize e6503f5
tests
emphasize 0ef4fed
tests
emphasize 738c636
tests
emphasize 86e9bb1
tests
emphasize f8b1d0d
tests
emphasize ecc7214
tests
emphasize c6eefbb
tests
emphasize a05234d
tests
emphasize 394d380
tests
emphasize 87c468d
tests
emphasize 9f7a617
tests
emphasize 7331750
tests
emphasize 395184a
tests
emphasize 9e5b380
tests
emphasize 1cb896b
tests
emphasize e860e80
tests
emphasize e4a72cd
tests
emphasize 5f5b143
tests
emphasize d548019
tests
emphasize 0c6ff8a
tests
emphasize 3401b0e
tests
emphasize 28a88a8
tests
emphasize 6bc327a
tests
emphasize fda3548
tests
emphasize cd78e6d
tests
emphasize 7790f8c
tests
emphasize f83377d
tests
emphasize 5cd569c
tests
emphasize af0ed6b
tests
emphasize 49f37e5
tests
emphasize bc86c78
tests
emphasize f464ee1
tests
emphasize ec460b4
tests
emphasize 11205e3
tests
emphasize b650320
tests
emphasize 83b95a7
tests
emphasize 84576d0
tests
emphasize 48a4407
tests
emphasize 855792d
tests
emphasize 7906d0a
tests
emphasize a402bba
tests
emphasize 028efde
tests
emphasize fa266e8
tests
emphasize 89a2801
tests
emphasize dd0de49
tests
emphasize 28a279e
tests
emphasize d9c0084
tests
emphasize a5aaf2e
tests
emphasize 708fcc8
tests
emphasize 9993a5b
tests
emphasize 81035cb
tests
emphasize ef06d3a
tests
emphasize 957750a
tests
emphasize 671462f
tests
emphasize f2add89
tests
emphasize e6996cc
tests
emphasize d11cf69
tests
emphasize 19d73c8
tests
emphasize b3e5cc5
tests
emphasize a09d566
tests
emphasize e3ca54c
tests
emphasize 240cc7e
tests
emphasize cad2ff8
tests
emphasize 085bfb6
tests
emphasize f3f762e
tests
emphasize b10cc34
tests
emphasize 4100827
tests
emphasize 545dff6
tests
emphasize 3e6fc21
tests
emphasize 8cb802f
tests
emphasize c4ddf14
tests
emphasize 10a9919
tests
emphasize 94ff60c
tests
emphasize 1642d72
tests
emphasize 664a0da
tests
emphasize 6a10d64
tests
emphasize 9b38c7b
tests
emphasize 41e522f
tests
emphasize e2e51c9
tests
emphasize 48bfd1f
tests
emphasize e220fef
tests
emphasize 1b3b68c
tests
emphasize e57c294
tests
emphasize File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: 'Notify Matrix Chat' | ||
| description: 'Send a message to a Matrix chat room' | ||
| inputs: | ||
| matrix_token: | ||
| description: 'The token to use to authenticate with the Matrix server' | ||
| required: true | ||
| subject: | ||
| description: 'Subject of the message' | ||
| default: 'no subject' | ||
| release_type: | ||
| description: 'Type of the release' | ||
| required: true | ||
| version: | ||
| description: 'The version of the release' | ||
| default: "version unknown" | ||
| repository: | ||
| description: 'The repository that triggered the action' | ||
|
|
||
| runs: | ||
| using: 'composite' | ||
| steps: | ||
| - name: Send message to Matrix | ||
| uses: fadenb/matrix-chat-message@v0.0.6 | ||
| with: | ||
| homeserver: 'matrix.org' | ||
| token: ${{ inputs.matrix_token }} | ||
| channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org' | ||
| message: "Testing QA phase in repo ${{ inputs.repository }} of a ${{ inputs.release_type }} release (${{ inputs.version }}) started. Subject to test: ${{ inputs.subject }}" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| name: Auto translate | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| branch: | ||
| description: 'The branch to checkout and run the action in' | ||
| type: string | ||
| default: ${{ github.ref }} | ||
| action_branch: | ||
| description: 'The shared action branch to checkout' | ||
| type: string | ||
| default: main | ||
| python_version: | ||
| description: 'The python version to use' | ||
| type: string | ||
| default: "3.8" | ||
| locale_folder: | ||
| description: 'The base folder to look for localization files' | ||
| type: string | ||
| default: locale | ||
|
|
||
|
|
||
| jobs: | ||
| autotranslate: | ||
| env: | ||
| API_KEY: ${{secrets.DL_API_KEY}} | ||
| LOCALE_FOLDER: ${{ github.workspace }}/action/package/${{ inputs.locale_folder }} | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| token: ${{ secrets.GH_PAT }} | ||
| ref: ${{ inputs.branch }} | ||
| path: action/package/ | ||
| - name: Checkout Scripts Repo | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: OpenVoiceOS/.github | ||
| ref: ${{ inputs.action_branch }} | ||
| path: action/github/ | ||
| - name: Setup Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: ${{ inputs.python_version }} | ||
| - name: Install Translate Tools | ||
| run: | | ||
| python -m pip install -r action/github/requirements/pip_translation.txt | ||
| - name: Auto Translate | ||
| run: | | ||
| python action/github/scripts/translate.py | ||
| - name: Commit to dev | ||
| uses: stefanzweifel/git-auto-commit-action@v5 | ||
| with: | ||
| commit_message: "fix(localisation): autotranslate common languages" | ||
| repository: action/package/ | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| name: License Tests | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| runner: | ||
| description: 'Runner to use' | ||
| type: string | ||
| default: 'ubuntu-latest' | ||
| branch: | ||
| description: 'Branch to check out' | ||
| type: string | ||
| default: ${{ github.ref }} | ||
| action_branch: | ||
| description: 'Branch to check out' | ||
| type: string | ||
| default: main | ||
| custom_labels: | ||
| description: 'Custom labels to use' | ||
| type: string | ||
| default: '{}' | ||
| pr_number: | ||
| description: 'Optional pull request number' | ||
| type: string | ||
| default: '' | ||
| error_on_failure: | ||
| description: 'Throws an error if the title not adheres to Conventional Commit format or testing phase is ongoing' | ||
| type: boolean | ||
| default: false | ||
|
|
||
| jobs: | ||
| validate-pr-title: | ||
| runs-on: ${{ inputs.runner }} | ||
| env: | ||
| GH_PAT: ${{ secrets.GH_PAT }} | ||
| GITHUB_REPOSITORY: ${{ github.repository }} | ||
| PR_LABELS: ${{ inputs.custom_labels }} | ||
| PR_NUMBER: ${{ inputs.pr_number }} | ||
| ERROR_ON_FAILURE: ${{ inputs.error_on_failure }} | ||
| TEST_PHASE_CACHE: ${{ github.workspace }}/test-status | ||
| PCCC_CONFIG_FILE: ${{ github.workspace }}/pccc.toml | ||
| steps: | ||
| - name: Checkout Scripts Repo | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: OpenVoiceOS/.github | ||
| ref: ${{ inputs.action_branch }} | ||
| - name: Install Python Requirements | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -r ${{ github.workspace }}/requirements/pip_base.txt | ||
| - name: Get Cached Test Status | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: test-status | ||
| key: test-status-${{ runner.os }} | ||
| - name: Status Check | ||
| run: | | ||
| python scripts/check_PRs.py | ||
|
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: Check Supported Python Versions | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: '0 0 * * *' | ||
|
|
||
| jobs: | ||
| update-versions: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Run Python Version Check Script | ||
| run: | ||
| python scripts/check_supported_py_versions.py | ||
| - name: Commit and Push if Changes | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "github-actions[bot]@users.noreply.github.com" | ||
| git add supported_py_versions.json | ||
| git commit -m "Update Supported Python Versions" || exit 0 # Exit gracefully if no changes | ||
| git push |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| on: | ||
| workflow_call: | ||
|
|
||
| jobs: | ||
| clear_test_flag: | ||
| runs-on: ubuntu-latest | ||
| # set cached test status to complete | ||
| steps: | ||
| - name: Set test status | ||
| run: | | ||
| echo "complete" > test-status | ||
| - name: Delete Test Tracking Cache | ||
| run: | | ||
| gh extension install actions/gh-actions-cache | ||
|
|
||
| echo "Fetching list of cache key" | ||
| cacheKeys=$(gh actions-cache list -R ${{ github.repository }} -L 100 | cut -f 1 ) | ||
|
|
||
| ## Setting this to not fail the workflow while deleting cache keys. | ||
| set +e | ||
| echo "Deleting caches..." | ||
| for cacheKey in $cacheKeys | ||
| do | ||
| gh actions-cache delete $cacheKey -R ${{ github.repository }} --confirm | ||
| done | ||
| echo "Done" | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GH_PAT }} | ||
| - name: Cache test status | ||
| uses: actions/cache@v2 | ||
| with: | ||
| path: test-status | ||
| key: test-status-${{ runner.os }} |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| name: License Tests | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| runner: | ||
| description: 'Runner to use' | ||
| type: string | ||
| default: 'ubuntu-latest' | ||
| branch: | ||
| description: 'Branch to check out' | ||
| type: string | ||
| default: ${{ github.ref }} | ||
| action_branch: | ||
| description: 'The shared action branch to checkout' | ||
| type: string | ||
| default: main | ||
| python_version: | ||
| description: 'Python version to use' | ||
| type: string | ||
| default: '3.8' | ||
| system_deps: | ||
| description: 'Additional system dependencies (whitespace delimited) to install' | ||
| required: false | ||
| type: string | ||
| pip_packages: | ||
| description: 'Additional Python packages (whitespace delimited) to install' | ||
| type: string | ||
| required: false | ||
| install_extras: | ||
| description: 'Optional extras to install the python package with' | ||
| required: false | ||
| type: string | ||
| packages-exclude: | ||
| description: 'Regex to exclude packages from the license check' | ||
| type: string | ||
| default: '^(precise-runner|fann2|tqdm|bs4|nvidia|bitstruct).*' | ||
| licenses-exclude: | ||
| description: 'Regex to exclude licenses from the license check' | ||
| type: string | ||
| default: '^(Mozilla).*$' | ||
| jobs: | ||
| license_tests: | ||
| timeout-minutes: 15 | ||
| runs-on: ${{ inputs.runner }} | ||
| steps: | ||
| - name: Checkout Repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| ref: ${{ inputs.branch }} | ||
| path: action/package/ | ||
| - name: Checkout Scripts Repo | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| path: action/github/ | ||
| ref: ${{ inputs.action_branch }} | ||
| repository: OpenVoiceOS/.github | ||
| - name: Setup Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: ${{ inputs.python_version }} | ||
| - name: Install Custom System Dependencies | ||
| if: ${{ inputs.system_deps != null }} | ||
| run: | | ||
| sudo apt update | ||
| sudo apt install -y ${{ inputs.system_deps }} | ||
| - name: upgrade pip | ||
| run: | | ||
| pip install --upgrade pip | ||
| - name: Install Custom Python Requirements | ||
| if: ${{ inputs.pip_packages != null }} | ||
| run: | | ||
| pip install ${{ inputs.pip_packages }} | ||
| - name: Install repo | ||
| run: | | ||
| cd ${{ github.workspace }}/action/package | ||
| if [ -z ${{ inputs.install_extras }} ]; then | ||
| pip install . | ||
| else | ||
| pip install .[${{ inputs.install_extras }}] | ||
| fi | ||
| - name: Get explicit and transitive dependencies | ||
| run: | | ||
| pip freeze > requirements-all.txt | ||
| - name: Check licenses | ||
| id: license_check_report | ||
| uses: pilosus/action-pip-license-checker@v2 | ||
| with: | ||
| requirements: 'requirements-all.txt' | ||
| fail: 'Copyleft,Other,Error' | ||
| fails-only: true | ||
| pre: true | ||
| verbose: 2 | ||
| exclude: ${{ inputs.packages-exclude }} | ||
| exclude-license: ${{ inputs.licenses-exclude }} | ||
| - name: Print report | ||
| if: ${{ always() }} | ||
| run: echo "${{ steps.license_check_report.outputs.report }}" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Notify Matrix Chat | ||
|
|
||
| # only triggers on pull request closed events | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| pr_id: | ||
| type: number | ||
| required: true | ||
| subject: | ||
| type: string | ||
| default: '' | ||
|
|
||
| jobs: | ||
| notify_pr_matrix: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Get repo | ||
| run: | | ||
| echo REPO=$(echo ${{ github.repository}} | cut -d '/' -f 2) >> $GITHUB_ENV | ||
| - uses: actions/checkout@v4 | ||
| - name: Send message to Matrix bots channel | ||
| id: matrix-chat-message | ||
| uses: fadenb/matrix-chat-message@v0.0.6 | ||
| with: | ||
| homeserver: 'matrix.org' | ||
| token: ${{ secrets.MATRIX_TOKEN }} | ||
| channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org' | ||
| message: | | ||
| ${{ inputs.subject }} PR merged! (${{ env.REPO }}) [PR](https://github.com/${{ github.repository }}/pull/${{ inputs.pr_id }}) |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| name: Notify Matrix Chat (Test State) | ||
|
|
||
| # only triggers on pull request closed events | ||
| on: | ||
| workflow_call: | ||
| inputs: | ||
| subject: | ||
| type: string | ||
| default: 'no subject' | ||
| release_type: | ||
| type: string | ||
| required: true | ||
| version: | ||
| type: string | ||
| description: 'The version of the release' | ||
| default: 'version unknown' | ||
|
|
||
| jobs: | ||
| notify_pr_matrix: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Send message to Matrix bots channel | ||
| uses: fadenb/matrix-chat-message@v0.0.6 | ||
| with: | ||
| homeserver: 'matrix.org' | ||
| token: ${{ secrets.MATRIX_TOKEN }} | ||
| channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org' | ||
| message: "Testing QA phase of a ${{ inputs.release_type }} release (${{ inputs.version }}) started (${{ github.repository }}). Subject to test: ${{ inputs.subject }}" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this API key? Is it something that should be available as an org secret?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is DeepL. I'm not sure if usage will fit into the free tier with more than a few active repos so the org might need a paid key to implement this everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
free tier (500k) api key. not quite clear about the irritation.