forked from roosmaa/ledger-app-nano
-
Notifications
You must be signed in to change notification settings - Fork 7
merge develop into master #18
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e467441
[auto] Add manifest
sgliner-ledger 7771d2d
[auto] Add guideline enforcer
sgliner-ledger c661d1f
Update Makefile (app flags)
tdejoigny-ledger 029a576
bump version
tdejoigny-ledger 39e6e8d
Merge pull request #15 from LedgerHQ/tdj/update_app_flags
tdejoigny-ledger dbf0008
[fix] compatibility with IO revamped SDK.
b621c11
Merge pull request #16 from LedgerHQ/pr-io-revamp
mruiz-ledger 0f69c18
Bum version for IO revamp
tdejoigny-ledger 6c3897d
Merge pull request #17 from LedgerHQ/tdj/io_revamp
tdejoigny-ledger 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,23 @@ | ||
| name: Ensure compliance with Ledger guidelines | ||
|
|
||
| # This workflow is mandatory in all applications | ||
| # It calls a reusable workflow guidelines_enforcer developed by Ledger's internal developer team. | ||
| # The successful completion of the reusable workflow is a mandatory step for an app to be available on the Ledger | ||
| # application store. | ||
| # | ||
| # More information on the guidelines can be found in the repository: | ||
| # LedgerHQ/ledger-app-workflows/ | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| - main | ||
| - develop | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| guidelines_enforcer: | ||
| name: Call Ledger guidelines_enforcer | ||
| uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_guidelines_enforcer.yml@v1 | ||
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
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,4 @@ | ||
| [app] | ||
| build_directory = "./" | ||
| sdk = "C" | ||
| devices = ["nanos", "nanox", "nanos+"] |
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
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.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 5 months ago
To fix the issue, add a
permissionsblock to the workflow. This block should specify the least privileges required for the workflow to function correctly. Since the workflow calls a reusable workflow, it is likely that onlycontents: readpermissions are needed to access the repository contents. If additional permissions are required (e.g.,pull-requests: write), they should be added explicitly.The
permissionsblock can be added at the root level of the workflow to apply to all jobs or within the specific job (guidelines_enforcer) to limit permissions for that job only.