mirror of
https://github.com/luxfi/assets.git
synced 2026-07-27 04:37:14 +00:00
Delete outdated workflows (#27869)
* Delete .github/workflows/periodic-update.yml * Delete .github/workflows/fix-dryrun.yml * Delete .github/workflows/fix.yml
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
#Disabled, we have 'check' job, 'fix' job do invisible changes which is not convenient to debug
|
||||
|
||||
#name: Fix (Dry run)
|
||||
#on:
|
||||
# pull_request:
|
||||
# branches: [ master ]
|
||||
#
|
||||
#jobs:
|
||||
# fix-dryrun:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Set up Go
|
||||
# uses: actions/setup-go@v4
|
||||
# with:
|
||||
# go-version: 1.18
|
||||
#
|
||||
# - name: Check out code
|
||||
# uses: actions/checkout@v3
|
||||
#
|
||||
# - name: Run fix
|
||||
# run: make fix
|
||||
#
|
||||
# - name: Show fix result (diff)
|
||||
# run: |
|
||||
# git config core.ignorecase false
|
||||
# git status
|
||||
# git diff
|
||||
@@ -1,48 +0,0 @@
|
||||
#Disabled, we have 'check' job, 'fix' job do invisible changes which is not convenient to debug
|
||||
|
||||
#name: Fix All
|
||||
#
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - '*'
|
||||
# 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)
|
||||
# uses: actions/checkout@v3
|
||||
# with:
|
||||
# # 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@v4
|
||||
# with:
|
||||
# go-version: 1.18
|
||||
#
|
||||
# - name: Run fix
|
||||
# run: make fix
|
||||
#
|
||||
# - name: Show fix result (diff)
|
||||
# run: |
|
||||
# git status
|
||||
# git diff
|
||||
#
|
||||
# - name: Run check
|
||||
# run: make check
|
||||
#
|
||||
# - name: Commit changes
|
||||
# if: success()
|
||||
# uses: stefanzweifel/git-auto-commit-action@v4.16.0
|
||||
# with:
|
||||
# commit_user_name: trust-ci
|
||||
# commit_user_email: "117647528+trust-ci@users.noreply.github.com"
|
||||
# commit_message: Auto fix all (sanity and consistency)
|
||||
@@ -1,40 +0,0 @@
|
||||
name: Periodic External Update
|
||||
on:
|
||||
schedule:
|
||||
# Run twice per day (at 1:00UTC/6pmPST, 13:00UTC/6amPST)
|
||||
- cron: '0 1,13 * * *'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
periodic-auto-update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.CI_GITHUB_TOKEN }}
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.18
|
||||
id: go
|
||||
|
||||
- name: Run update auto
|
||||
run: make update-auto
|
||||
|
||||
- name: Show update result (diff)
|
||||
if: success()
|
||||
run: |
|
||||
git status
|
||||
git diff
|
||||
|
||||
- name: Run check
|
||||
run: make check
|
||||
|
||||
- name: Commit changes
|
||||
if: success()
|
||||
uses: stefanzweifel/git-auto-commit-action@v4.16.0
|
||||
with:
|
||||
commit_message: External Updates
|
||||
commit_user_name: trust-ci
|
||||
commit_user_email: "117647528+trust-ci@users.noreply.github.com"
|
||||
Reference in New Issue
Block a user