forked from trustwallet/assets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trustwallet:master' into master
- Loading branch information
Showing
3,647 changed files
with
47,067 additions
and
4,388 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "master" ] | ||
schedule: | ||
- cron: '43 20 * * 6' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'go' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | ||
# Use only 'java' to analyze code written in Java, Kotlin or both | ||
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
- name: Build assets binary | ||
run: make build | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,32 @@ | ||
name: Fixes | ||
# Runs on: | ||
# - on master branch of trustwallet repo: fix, checkin | ||
# - on other branch of trustwallet repo: fix, checkin | ||
# - on fork repos: fix-sanity only | ||
name: Fix All | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- '*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
fix-all: | ||
runs-on: ubuntu-latest | ||
|
||
if: github.repository_owner == 'trustwallet' && github.event.repository.fork == false | ||
|
||
steps: | ||
- name: Checkout (trustwallet repo, secret token) | ||
if: github.repository_owner == 'trustwallet' | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.COMMIT_TOKEN }} | ||
ref: ${{ github.ref }} | ||
|
||
- name: Checkout (fork repo, default token) | ||
if: github.repository_owner != 'trustwallet' | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# Use trust-ci fine-grained PAT to checkout and later commit the code | ||
# Do not use for forked repos | ||
token: ${{ secrets.CI_GITHUB_TOKEN }} | ||
ref: ${{ github.ref }} | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.17 | ||
id: go | ||
go-version: 1.18 | ||
|
||
- name: Run fix | ||
if: github.repository_owner == 'trustwallet' | ||
run: make fix | ||
|
||
- name: Show fix result (diff) | ||
|
@@ -47,8 +39,8 @@ jobs: | |
|
||
- name: Commit changes | ||
if: success() | ||
uses: stefanzweifel/git-auto-commit-action@v4.1.2 | ||
uses: stefanzweifel/git-auto-commit-action@v4.16.0 | ||
with: | ||
commit_user_name: trust-wallet-merge-bot | ||
commit_user_email: mergebot@trustwallet.com | ||
commit_message: Fixes (sanity and consistency, auto) | ||
commit_user_name: trust-ci | ||
commit_user_email: "[email protected].com" | ||
commit_message: Auto fix all (sanity and consistency) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,15 @@ jobs: | |
periodic-auto-update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.COMMIT_TOKEN }} | ||
ref: ${{ github.head_ref }} | ||
token: ${{ secrets.CI_GITHUB_TOKEN }} | ||
ref: ${{ github.head_ref }} | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.18 | ||
id: go | ||
|
||
- name: Run update auto | ||
|
@@ -33,8 +33,8 @@ jobs: | |
|
||
- name: Commit changes | ||
if: success() | ||
uses: stefanzweifel/git-auto-commit-action@v4.1.2 | ||
uses: stefanzweifel/git-auto-commit-action@v4.16.0 | ||
with: | ||
commit_user_name: trust-wallet-merge-bot | ||
commit_user_email: [email protected] | ||
commit_message: External Updates | ||
commit_message: External Updates | ||
commit_user_name: trust-ci | ||
commit_user_email: "[email protected]" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.